Skip to content

Repository files navigation

Console Gamer v1.0 :))))

Overview:

My Console Gamer Project is a runnable no-internet application that runs in the terminal/console, and you can play a variety of different games on it. Have fun! :)))

Usage:

Windows:

Download ConsoleGamesWindows.exe from https://github.com/vincentchen18/Horizon-CRUX-GameApp/releases/tag/v1.0/

Open Powershell, navigate to downloads, and run with .\ConsoleGamesWindows.exe , enjoy! :))))))

Linux:

Download ConsoleGamesLinux from https://github.com/vincentchen18/Horizon-CRUX-GameApp/releases/tag/v1.0/

Open Terminal, navigate to Downloads, and run using ./ConsoleGamesLinux, enjoy! :))))))

Side note: There is currently no Mac distribution due to me not having a mac so I cannot compile one :(((. Instead, you can run it directly by using the project files directly and following the instructions below.

To use the project files directly, type the following commands into your terminal.

pip install colorama

git clone https://github.com/vincentchen18/Horizon-CRUX-GameApp

python main.py

Available Games:

1. TicTacToe

The classic 3x3 game! Place noughts and crosses and try to connect 3 in a row. Play multiplayer locally or against a bot.

2. Connect 4

Another classic, drop counters and try to connect 4 in a row! You are also given the option between local multiplayer or playing against a bot.

3. Pig

A lesser known one, but every turn, roll a dice. If you roll a 1, you lose your score! Otherwise, you can choose to risk your current score for another roll or bank it. You can play local multiplayer or against a bot.

4. Nim

A classical strategy game with many variants, but in this version, there are multiple piles of random numbers of counters, and you may take any number from one pile on your turn. Take the last counter to win! There is also a multiplayer feature or you can play against a bot.

5. 2048

The classic square sliding game! Merge powers of two and try to reach 2048! No bot for this one, but you can certainly have fun playing it yourself!

6. Lights Out

This game also has many variants, but in my one, you have a 5x5 board, try and turn off all the lights! Toggling a light will toggle all orthogonally adjacent lights too!

7. 15 Puzzle

Another sliding squares puzzle, try to correctly arrange all 15 tiles in order!

8. Blackjack

The classic casino gambling card game! Hit and try to get closer to 21 than the dealer without going over! You start with $1000, hopefully you don't run out of money! Side Note: I do not encourage gambling in real life, but do it at your own discretion.

9. Checkers

Another classic on an 8x8 board, move your pieces around, jump over your opponents to capture them, and try to capture all your opponent's pieces to win! You can play in both multiplayer locally or against a bot.

10. Reversi / Othello

In this game, place your pieces to convert all surrounded opponent pieces to yours! Finish with the most amount of pieces on the board to win! Play against bot or local multiplayer.

11. 24 Puzzle

I'll give you 4 numbers. Can you find a way using math operations to turn them into 24?

12. Poker

A card game of skill, luck, and psychology, bet money based on cards or bluff. Everyone is dealt 2 cards, with the community cards getting revealed every round of bet. Try not to run out of money!

Royal Flush > Straight Flush > Four of a Kind > Full House > Flush > Straight > 3 of a Kind > Two Pair > One pair > High Card. Side Note: I do not endorse or encourage gambling.

AI Disclosure

Generative AI tools were used for a small part of algorithm explanations and finding bugs. However, all the main logic and all the code was written and tested by me.

Note to Horizons organisers

My hours are split across like 5 different projects, and they're all part of this one, I just had some issues with configuring my wakatime project files in the beginning so yeah :)))

About

My first GH project, built for the horizons crux hackathon, an app featuring 12 different games ranging from cards, logic and puzzles, complete with bots!

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages