##Introduction In this project, we will be creating a small game of the famous Rock Paper Scissors game using python.The player will be able to play with the computer. There will also be a database where you can see the score from all games.The game keeps track of the player's wins and losses using a PostgreSQL database. Player's names and ages are used to uniquely identify them in database.
- Python 3.x
- PostgreSQL database server installed and running
- psycopg2 library installed (pip install psycopg2)
- Install the required libraries using the following command:
- Set Up your PostgreSQL database with the following connection details:
- Database name: posgres
- User: posgres
- Password: [yourpassword]
- Host: localhost
- port: 5432
The Python script rps_game.py connects to the PostgreSQL database, gets player information, plays the RPS game, updates scores, and handles the game loop.
This simple project was created for a group project using Python and Database Connectivity.
Siv Koloudom via Email Koloudom.siv22@kit.edu.kh or via Slack Siv Koloudom