A Python-based CLI game that includes an authentication system, local data persistence, and leaderboard sorting
User registration that validates unique usernames in a text file
Password strength validation that uses Regular Expressions to enforce policy (Min 6 chars, 1 uppercase, 1 digit, 1 special char)
Symmetric Encryption that implements a Rotational Cipher on user passwords before storage
Color Hierarchy:
| Winner | Loser |
|---|---|
| Red | Black |
| Black | Yellow |
| Yellow | Red |
If colours match, the higher number wins
Stores user credentials in "UserData.txt"
Serializes game results into "ResultLogs.txt
Python version 3
-
Sign up: create an account for both players
-
Login: Both player enter valid credentials in the CLI
-
The deck contains 30 cards, players draw cards in turns, the winning player takes both cards and the player with the most cards at the end of the deck wins