Giter VIP home page Giter VIP logo

gupb's Introduction

GUPB

Gra Udajฤ…ca Prawdziwe Battle-Royale (polish for "Game Pretending to be a True Battle-Royale").

A simplified action game used for teaching machine learning courses at AGH University of Science and Technology.

Sample GUPB State

Requirements

The projects requires Python 3.11 or higher.

Installation

When in project root directory install the requirements using the following command. Using virtualenv is recommended, as it will allow to isolate the installed dependencies from main environment.

pip install -r requirements.txt

Usage

To run the game type python -m gupb while in root directory. Additional options are covered in the help excerpt below.

Usage: python -m gupb [OPTIONS]

Options:
  -c, --config_path PATH    The path to run configuration file.
  -i, --inquiry             Whether to configure the runner interactively on
                            start.

  -l, --log_directory PATH  The path to log storage directory.
  --help                    Show this message and exit.

When no configuration file provided, gupb\default_config.py is used instead. Options selected as default in interactive mode are based on chosen configuration. Log are stored in results directory by default.

gupb's People

Contributors

adamkacz avatar adamksiezyk avatar agnosic avatar aleqsio avatar boro28 avatar darkwizz avatar domo23 avatar hannatabaszewska avatar johnnypron avatar jzawalska avatar kapiekarz avatar kdbogusz avatar kocimski avatar koozco avatar krvwv avatar majerzemilia avatar malenczuk avatar marcinz99 avatar meiclow avatar mhcenic avatar mkmicikiewicz avatar mrucka avatar pkardas avatar prpht avatar pwrobel5 avatar skusnierz avatar syforcee avatar tetrx avatar wpaluch12 avatar zombiepy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gupb's Issues

Setting up GUPB on MacOS

If you encounter similar issue:

File "/Users/pkardas/Private/GUPB/gupb/view/render.py", line 24, in load_sprite
  sprite = pygame.image.load(path).convert()
pygame.error: File is not a Windows BMP file

Remove 'pygame' entirely (pip uninstall pygame) - note that there might be some files that were not removed, go to folder where you have your Python installed and remove anything that has 'pygame' in the name ๐Ÿ˜›

Run following command: [source]

brew install sdl sdl_image sdl_mixer sdl_ttf portmidi mercurial

Then you can install pygame.

If you encounter:

Unable to obtain graphics context for NSWindow (Mojave behavior)

after reinstalling pygame, do:

pip uninstall pygame

and then:

pip3 install pygame==2.0.0.dev6

Enjoy your game ๐ŸŽ‰

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.