Skip to content

jrojas9206/bearconsole

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bear station

This project is dedicated to implementing the logic and visual representations of paper games using Python and pyQt5. Each game consists of 2 main elements:

  1. Game logic
  2. Ui-Widget

This project is a hobby, it will continue to be active and I hope that this year (2024 - 2025) I will be able to implement more games and improve the visuals, add some music and better animations as at the moment it is more like a skeleton. The main UI can be seen in figure 1.

Figure 1. Main console

The games can also be run on the terminal. An example of a game running on the console is shown in Figure 2.

Figure 2. TicTacToe Running on terminal

1. Implemented games

The following games are currently available:

  • TicTacToe
  • Hangman
  • DotAndBoxes

Installation

  1. Create a virtual environment to install the project.
    python -m venv .bearconsole
  1. Activate your virtual environment
  • GNU/Linux
    source .bearconsole/bin/activate 
  • Windows
    ./bearconsole/Scripts/activate 
  1. Install the build module
    python -m pip install build
  1. Build the project
    python -m build
  1. Install the project
    python -m pip install -e .
  1. Run the app Qt/Terminal
  • Terminal
    python ./terminal_app.py 
  • Qt app
    python ./app.py