Skip to content

The CLI version of the classic board game of "La Brisca".

License

Notifications You must be signed in to change notification settings

ericmp33/la-brisca-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

la-brisca-cli🕹️🖥️👨‍💻

Welcome to the command line interface version of the classic board game of "La Brisca", programmed with Java 16. Made by @ericmp33. ✔️

What is "La Brisca"?💡

"La Brisca" is a popular cards game in a lot of Mediterranean countries, such as Catalonia, Italy, France, Portugal, Croatia, Slovakia... Also is present in Center and South America.

  • For being able to play it and to understand how the game works🤔, it's aim and more information I recommend you to check https://en.wikipedia.org/wiki/Brisca and also to search on the Internet.

  • If you know Catalan, you can play in Catalan😃! When the game starts, it asks in which language you want to play.

Simple instructions📄

  • ⚠️IMPORTANT⚠️❗ You should use a terminal that supports colorized ASCII characters, so you will see the prints colorized and all will be more readable! If you are on Windows I recommend you the new Windows Terminal.

  • To execute the game get Java☕ - 16 or newer version. Then download the game here. Execute the file via terminal inputting java -jar ./la-brisca-cli.jar, where . is the current folder, which contains the jar.

  • The game can have multiple players, but in this case I chose the 2-players version. I created a bot, so you can play against it.

  • When the game starts, you'll be asked about 2 things. The gamemode and the bot's AI.

Gamemode:

If u choose the default gamemode, you won't be able to see the cards of the bot. Default mode acts like real life default's game mode, where you can't see opponents cards.

Otherwise, if u choose the "hacker" mode, you'll be able to see bot's in-hand cards and other information👀.

Bot's AI:

If you enable it, the bot will be able to throw the cards "thinking" properly🧠. Otherwise, it will throw a random card🤖🤪.

Game preview

Game start (enabling AI and setting hacker mode):



Round (normal mode):



Round (hacker mode):



AI changing last card (7 of trump):