Skip to content

chwilko/games

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PAN game

This project is PAN game implementation. The logic of the game is based on the alpha-beta algorithm. Flask is responsible for the GUI.

autors

Bartłomiej Chwiłkowski (github: chwilko)

license

MIT license

Usage

Online

If it is still available, it is at the link: chwilko.pythonanywhere

Local

Create env

Create virtual enviroment using venv

python3 -m venv games_env
source games_env/bin/activate
python3 -m pip install -r requirements.txt 

or using poetry

poetry shell
poetry install

Run

Run app and open browser window using make

make run

or only run

make only_run

and open in browser manually http://127.0.0.1:5000/

Structure

game:

  • static:
    • card.css -- File css with card style and card container
  • templates:
    • main_page.html
    • pan_page.html
    • pan_rules_page.html
  • app.py -- Flask app with all backend endpoints
  • PanGameTree.py -- Implementation of the algorithm into the bot.

About

Implementation of the alpha-beta algorithm for the PAN game. Flask as GUI.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy