Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

onecrazygenius/cursedmage

Repository files navigation

Cursed Mage - A game made with pygame

Install

To get started, clone the repository and setup using poetry

Clone the repository

mkdir cursedmage
cd cursedmage
git clone https://github.com/onecrazygenius/cursedmage.git .

Install Poetry

Install Poetry

  1. On Linux or MacOS run the following command
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
  1. On Windows run the following command in PowerShell
(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py - 

Install dependencies

poetry install

Spawn a shell

poetry shell

Run

python app/main.py

Run tests

pytest

Build the game

pyinstaller build.spec

Github Actions

Build

Builds the game using pyinstaller and uploads to artifacts

Deploy

Deploys the game to web server's dist folder