Compare commits

...
8 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
JosephFerano 7cae807bfa Images 2 2025-06-24 12:26:02 +07:00
JosephFerano 2c935143cc Images 2025-06-24 12:25:34 +07:00
5 changed files with 10 additions and 13 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

+10 -13
View File
@@ -2,6 +2,12 @@
A multiplayer Discord gaming platform built with F# and the Giraffe web framework, featuring interactive games with player progression and an in-game economy.
## Degenz World
![Armory](./Assets/Shop_Degenz_Resampled.gif)
![Slot Machine](./Assets/ezgif.com-gif-maker-268ecb6e4d28bd55a0.gif)
![Jpegs for Sale](./Assets/jpegforsale.gif)
## Architecture
### Core Technologies
@@ -65,7 +71,7 @@ Tutorial/onboarding system:
### Player Progression
#### Stats System (`GameTypes.fs:41-55`)
#### Stats System
Four core attributes with time-based decay:
- **Strength**: Combat effectiveness
- **Focus**: Precision and accuracy
@@ -79,7 +85,7 @@ Each stat features:
## Discord Integration
### Multi-Bot Architecture (`Bot.fs:53-59`)
### Multi-Bot Architecture
The system uses multiple specialized Discord bot clients:
- **hackerBattleBot**: HackerBattle game interactions
- **storeBot**: Store transactions and interactions
@@ -96,10 +102,10 @@ The system uses multiple specialized Discord bot clients:
## Database Design
### PostgreSQL Integration (`DbService.fs`)
### PostgreSQL Integration
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
- **Event tracking**: Player actions, cooldowns, game history with proper typing
- **Custom types**: `StatMod` composite type for database item modifiers
@@ -113,15 +119,6 @@ Type-safe database operations using Npgsql.FSharp:
- **API Key Authentication**: `X-API-Key` header validation
- **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
### Prerequisites