https://github.com/jgresham/mental-poker-ui
mental poker - texas holdem style. other repo mental-poker-contracts
https://github.com/jgresham/mental-poker-ui
commutative-encryption cryptography elgamal-encryption mental-poker poker texas-holdem-poker
Last synced: about 1 month ago
JSON representation
mental poker - texas holdem style. other repo mental-poker-contracts
- Host: GitHub
- URL: https://github.com/jgresham/mental-poker-ui
- Owner: jgresham
- Created: 2025-03-14T01:53:53.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-19T18:23:17.000Z (about 1 year ago)
- Last Synced: 2026-04-29T02:41:06.042Z (about 2 months ago)
- Topics: commutative-encryption, cryptography, elgamal-encryption, mental-poker, poker, texas-holdem-poker
- Language: TypeScript
- Homepage: https://mentalpoker.xyz
- Size: 7.85 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Texas Hold'em Poker Web App
A mobile-optimized Texas Hold'em Poker web application built with Next.js, TypeScript, and shadcn/ui components.
## Features
- Support for 2-10 players
- Mobile-optimized interface
- Visual representation of the poker table, cards, and players
- Game state management for poker rounds (preflop, flop, turn, river)
- Player actions: fold, check, call, raise
- Visual indicators for dealer, small blind, big blind, and all-in status
- Player avatars and chip counts
## Technologies Used
- Next.js 15
- TypeScript
- Tailwind CSS
- shadcn/ui components
- React Hooks for state management
## Getting Started
### Prerequisites
- Node.js 18.17 or later
### Installation
1. Clone the repository:
```bash
git clone https://github.com/yourusername/texas-holdem-poker.git
cd texas-holdem-poker
```
2. Install dependencies:
```bash
npm install
```
3. Run the development server:
```bash
npm run dev
```
4. Open [http://localhost:3000](http://localhost:3000) in your browser to see the application.
5. Deploy
```
vercel deploy --prod
```
## How to Play
1. Start by selecting the number of players (2-10) and your position at the table.
2. The game will automatically deal cards and assign dealer, small blind, and big blind positions.
3. Players take turns clockwise around the table.
4. Available actions include:
- Fold: Give up your hand and exit the current round
- Check: Pass the action to the next player (only if no bet is required)
- Call: Match the current bet
- Raise: Increase the current bet
5. The game progresses through the standard poker stages: preflop, flop, turn, river, and showdown.
## License
This project is licensed under the MIT License - see the LICENSE file for details.
## Acknowledgments
- Built with Next.js and shadcn/ui components
- Designed for mobile-first experience
### Test specific file
```npm test -- __tests__/modInverse.test.ts```