A simple CLI minigames engine for multiple players on the same computer. Created as a Java learning project for the students of my OOP programming class at the Institute for Digital Humanities (University of Cologne).
Open the project in your Java IDE and run it (for development). OR use your IDE (or your hacker skills and javac
๐ค) to create a runnable .jar
file from the project and run it with java -jar HotSeatGames.jar
!
At this point, the following games are included in Hot Seat Games (in order of contribution):
- Hyper Typer (by bkis)
- Black Jack (by cthilo)
- Rock-Paper-Scissors (by esmith2smail)
- Binory (by bkis)
- One Plus One (by chrkell)
If you want to add new games, just follow these steps:
- Create a package with your game's name under
idh.hotseatgames.games
(e.g.idh.hotseatgames.games.mygame
). - Create a game class (preferrably matching your packages name, e.g.
MyGame
) inside this package. This game class must implement theIGame
interface correctly to work with Hot Seat Games. You are free to use the very helpful utility classes inidh.hotseatgames.utils
(have a look!). Try to take inspiration from the existing games implementations! Everything else is up to you. - Add your game package and class name to the static array
GAMES_SUB_PATHS
in theGameManager
class to "register" your game with Hot Seat Games.
โจ You are welcome to contribute your games to this repository! If you don't know how to do that, you may read this to learn how to set up git and to understand the basics, then read this to learn about the ideal workflow for contributing.