Giter Site home page Giter Site logo

wattahay / cli-game-scripts Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 1.3 MB

Minimal Python game script. Works foremost in xfce4-terminal and Gnome terminal

Python 100.00%
beast game python scripts blackjack linux-console cli xfce4-terminal colorama curses

cli-game-scripts's People

Contributors

wattahay avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

cli-game-scripts's Issues

Player waits before zooming

upon holding down an arrow to move the player,
the player should immediately zoom in that direction
however, the player moves once, and then skips a frame before moving again

perhaps this would require a while loop that has a getch() function in it like the fix for the pull function

Framerate issue in the console

The terminal version works fine, but the console has problems clearing and refreshing so quickly

If there is a simple solution, it will likely be with synchronizing the game frame rate with the screen Hz.

Beast randomness setting

right now it seems like the beasts probably don't scatter enough

create a setting to increase and decrease the randomness of the beasts' movement decisions

keyboard delay prevents smooth player movement

Feature of Bug?
The feature might be desirable over the old game, because the old game lacks control sometimes. However nice it is to get up and going, it does not usually prove THAT advantageous game-wise.

one possible fix is to use:
xset -r 120 20
however, this changes the keyboard delay system-wide

Another option is to start using pygame, and to see if the keyboard event function works independent of a GUI version.

pulling does not behave as the original game

Pulling blocks only works in two modes, neither of which is like the original:

  1. pulling is toggled by the spacebar
  2. spacebar must be pressed before every move

The original behavior is that pulling works as long as one holds down the spacebar, but then stops when the user lets off of it.

change settings while playing a level

right now, the behavior is to only be able to enter the settings menu at opportune moments before each level

make the settings available in a better capacity

some settings can only change in between levels, and not mid-play of a level, while others can be change immediately. perhaps these settings can be separated by the tab in which they exist in the settings menu

Beasts disappear

this might be an issue of beasts entering the same location on the same frame, but that does not necessarily make sense.

Arrow keys do not work as in the original

the inkey function accepts 1 character input, and the arrow keys are read as a set of multiple characters.

Find a new method for accepting keyboard input that allows the usage of arrow.

There's a huge potential for great regression if a solution to this problem is found.

Pulling only works in Ubuntu

tested on fedora, and the game does not work.

Works on various versions of python3 in Ubuntu/Mint xfce.

Probably has something to do with differences in the getch function keyboard inputs.

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.