https://github.com/balazshevesi/yatzy
🎲 A yatzy game for the course "Introduction to programming" at LNU
https://github.com/balazshevesi/yatzy
functional-programming python university-project yatzy
Last synced: 13 days ago
JSON representation
🎲 A yatzy game for the course "Introduction to programming" at LNU
- Host: GitHub
- URL: https://github.com/balazshevesi/yatzy
- Owner: balazshevesi
- License: mit
- Created: 2024-10-23T10:08:09.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-06T10:02:08.000Z (over 1 year ago)
- Last Synced: 2026-05-31T01:14:25.649Z (23 days ago)
- Topics: functional-programming, python, university-project, yatzy
- Language: Python
- Homepage:
- Size: 2.18 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Requirements
## E
- [x] A one player game of Yatzy
- [x] Text based user interface that guides the user
- [x] The possibility of showing the scorecard for the player
- [x] When rolling, guiding the user to what can be done
- [x] That is, ask which of the dice to hold
- [x] Also show what possible positions the dice can be put at
## C
- [x] Support for two or more players in the game
- [x] High score list of all played games that are written to a file and loaded when the game starts
- [x] Should of course show the highest score on top
## A
- [x] Error handling for all input
- [ ] Something that will "amaze" us 😆 (maxi yatzy?, client/server/websocket yatzy?, creating and storing profiles?, save and resume games?, gui?, suggestions?, store statistics?, ai opponent with adjustable difficulty level or maybe a dynamic difficulty?, achievement system? undo redo?)
# Plan
## Higher level problems
- Cli rendering system (React.js-like?)
- Python formatter
- Solve project management system
## Requirements
- Multiple player support
- Profiles system
- Save and resume game
- Intelligent computer opponent with difficulty levels, easy, medium, hard, dynamic
- Achievement system
- Undo redo system
- Store high-score-list-file (.json, .yaml, .md)
- Error handle all input (pay extra attention to that input always returns a string)
# Resources
- Game example: https://www.funnygames.se/spel/yahtzy.html
- Game rules: https://en.wikipedia.org/wiki/Yatzy
# Deadline
- Written report handed in November 8, 23:59 (template will be available on Moodle)
- An oral presentation in week 45