Compare commits

...
6 Commits
Author SHA1 Message Date
JosephFerano a578978c95 Revert "Cleaning up"
This reverts commit 0db69bf72b.
2025-06-24 15:45:49 +07:00
JosephFerano 2b12c99813 Update README 2025-06-24 15:41:39 +07:00
JosephFerano 7bf6435638 Delete sensei image 2025-06-24 15:39:09 +07:00
JosephFerano 651f6626b8 Ooops 2025-06-24 15:38:15 +07:00
JosephFerano ce92780f2f Update gifs 2025-06-24 15:35:00 +07:00
JosephFerano 0db69bf72b Cleaning up 2025-06-24 15:34:54 +07:00
5 changed files with 8 additions and 22 deletions

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 191 KiB

+8 -22
View File
@@ -2,16 +2,11 @@
A multiplayer Discord gaming platform built with F# and the Giraffe web framework, featuring interactive games with player progression and an in-game economy. A multiplayer Discord gaming platform built with F# and the Giraffe web framework, featuring interactive games with player progression and an in-game economy.
## Screenshots & Game Assets ## Degenz World
![Hacker Battle](https://s10.gifyu.com/images/Hacker-Degenz-V20ce8eb832734aa62-min.gif) ![Armory](./Assets/Shop_Degenz_Resampled.gif)
![Defense System](https://s10.gifyu.com/images/Defense-Degenz-V2-min.gif) ![Slot Machine](./Assets/ezgif.com-gif-maker-268ecb6e4d28bd55a0.gif)
![Master Training](https://s10.gifyu.com/images/MasterTraining_Degenz.gif) ![Jpegs for Sale](./Assets/jpegforsale.gif)
![Store Interface](https://s8.gifyu.com/images/Shop_Degenz_Resampled.gif)
![Slot Machine](https://s7.gifyu.com/images/ezgif.com-gif-maker-268ecb6e4d28bd55a0.gif)
![Whitelist Banner](https://s8.gifyu.com/images/whitelist-banner-smaller2.gif)
![Rock Paper Scissors](https://s10.gifyu.com/images/Sprite-0001614d8697f32165af.gif)
![Invite System](https://s8.gifyu.com/images/invite_banner_new.png)
## Architecture ## Architecture
@@ -76,7 +71,7 @@ Tutorial/onboarding system:
### Player Progression ### Player Progression
#### Stats System (`GameTypes.fs:41-55`) #### Stats System
Four core attributes with time-based decay: Four core attributes with time-based decay:
- **Strength**: Combat effectiveness - **Strength**: Combat effectiveness
- **Focus**: Precision and accuracy - **Focus**: Precision and accuracy
@@ -90,7 +85,7 @@ Each stat features:
## Discord Integration ## Discord Integration
### Multi-Bot Architecture (`Bot.fs:53-59`) ### Multi-Bot Architecture
The system uses multiple specialized Discord bot clients: The system uses multiple specialized Discord bot clients:
- **hackerBattleBot**: HackerBattle game interactions - **hackerBattleBot**: HackerBattle game interactions
- **storeBot**: Store transactions and interactions - **storeBot**: Store transactions and interactions
@@ -107,10 +102,10 @@ The system uses multiple specialized Discord bot clients:
## Database Design ## Database Design
### PostgreSQL Integration (`DbService.fs`) ### PostgreSQL Integration
Type-safe database operations using Npgsql.FSharp: Type-safe database operations using Npgsql.FSharp:
- **User table**: Discord IDs, display names, GBT balances, wallet addresses - **User table**: Discord IDs, display names, GBT balances
- **Item system**: Database-driven item definitions with custom composite types - **Item system**: Database-driven item definitions with custom composite types
- **Event tracking**: Player actions, cooldowns, game history with proper typing - **Event tracking**: Player actions, cooldowns, game history with proper typing
- **Custom types**: `StatMod` composite type for database item modifiers - **Custom types**: `StatMod` composite type for database item modifiers
@@ -124,15 +119,6 @@ Type-safe database operations using Npgsql.FSharp:
- **API Key Authentication**: `X-API-Key` header validation - **API Key Authentication**: `X-API-Key` header validation
- **Error Handling**: Comprehensive error responses and logging - **Error Handling**: Comprehensive error responses and logging
## Player Economy
The game features a balanced virtual economy:
- **GBT Currency**: Primary medium of exchange earned through gameplay
- **Fixed Pricing**: Items have set buy/sell prices (no dynamic market)
- **Cooldown Systems**: Rate limiting prevents exploitation
- **Risk/Reward Balance**: Thief game risk vs potential reward
- **Player Progression**: Long-term engagement through stat decay requiring active play
## Development Setup ## Development Setup
### Prerequisites ### Prerequisites