An open API service indexing awesome lists of open source software.

https://github.com/bcorfman/alex-console

ALEX is a console game prototype using A* pathfinding and some modern asyncio best practices.
https://github.com/bcorfman/alex-console

astar-pathfinding asyncio blessed python3 sci-fi-game

Last synced: 3 days ago
JSON representation

ALEX is a console game prototype using A* pathfinding and some modern asyncio best practices.

Awesome Lists containing this project

README

          

# ALEX (Artificial Life EXperiment)

[![Coverage Status](https://coveralls.io/repos/github/bcorfman/alex/badge.svg?branch=main)](https://coveralls.io/github/bcorfman/alex?branch=main)
![Main branch](https://github.com/bcorfman/alex-console/actions/workflows/build-test.yml/badge.svg)

A game I designed for my Commodore 128 back in the day, but I didn't really have enough experience back then to make it work.
Now I'm finishing it in Python with some basic terminal graphics, at least for now until I can get the play mechanics where I want them.

## Prerequisites
* At a command prompt in the project directory, type `make install` to set up the project

## To run the tests
* At a command prompt in the project directory, type `make test`.

## To run the game
* At a command prompt in the project directory, type `make run`.

## Game instructions
* Click anywhere on the map with the mouse to move the player to that location.
* Hit the `q` key to quit the game.
* Yes, it's a prototype.

## Notes for Visual Studio Code users
* I've included some extension recommendations that can make your development easier.
* [Run On Save](https://marketplace.visualstudio.com/items?itemName=emeraldwalk.RunOnSave)
* [Make support and task provider](https://marketplace.visualstudio.com/items?itemName=carlos-algms.make-task-provider)
* These recommendations will pop up when opening the project inside VSCode.
* Installing both extensions will
* Use the code in `settings.json` to run `make format` on each `File:Save`.
* Display available Make targets within the _Makefile Tasks_ sidebar pane and allow them to be run with a mouse click.

## To do
* Switch over to the [Pyxel](https://github.com/kitao/pyxel) game engine instead of keeping it on the console.
* Start developing the gameplay