benleadbetter / shellaga Goto Github PK
View Code? Open in Web Editor NEWA Galaga-like game which runs in the Terminal.
License: Apache License 2.0
A Galaga-like game which runs in the Terminal.
License: Apache License 2.0
Add a state which to handle the "game over" state. Currently the game simply exits.
Planets can be included in a level's background render.
Add a screen which is the first landing page when the game is started. A new game can be started from here. This page will also be important as further features come later down the line, like settings, loading a previous game, etc.
Allow several players to play a single level at the same time in multiplayer mode.
Enemies can take on different forms and have different behaviours. This would serve as a proof-of-concept for adding further enemy types going forward.
Some terminals don't support the Kitty Terminal protocol extensions. In these terminals we do not get key release events. This manifests in a bug where the player never leaves move / shooting state after a key is pressed.
In such terminals we must handle these states differently because we can't rely on key release events.
The fix should not compromise the state handling for terminals which do support the feature.
The enemies you encounter are defined in the level data.
Currently the background and foreground colour fields in the Sprite
component are totally when the sprite is rendered.
It would be nice to use "True Colour" by default for terminals which support it, with a sensible default for terminals which do not.
Add serialisation for the level struct to allow the data to be saved and loaded to disk.
Use serde?
We use https://github.com/charmbracelet/vhs to create these in Ratatui
I'd caution against storing the image directly in your repo though as it tends to cause your repo to get bloated over time.
VHS has a publish command which is useful.
Add a sprite sheet feature to the existing Sprite
component. This should allow for simple animations of sprites by adding a parameter which moves the frame of reference within an atlas.
For example, animating between the following two buffers every second.
!_!
>o<
!_!
and
i_i
<o>
i_i
Upgrade entities can be picked up by the player to provide the player with bonuses. This story would serve as a proof of concept so that further upgrades can be easily added in the future.
There are additional weapons which the player can acquire. This would serve as a proof-of-concept for adding further weapon types going forward.
The rendered background of the level is defined in the level data.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.