GithubHelp home page GithubHelp logo

tomasquinones / python_education Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 4.83 MB

All my notes and code while learning how to program in Python. May contain source code from varying books but nothing that isn't already public knowledge.

Python 94.04% Shell 0.05% Makefile 0.06% C 5.26% SWIG 0.32% Jupyter Notebook 0.27%

python_education's People

Contributors

tomasquinones avatar

Watchers

 avatar

python_education's Issues

AI - Player power shot - Rail Gun

If the player can hold fire for 10 seconds or something challenging, then they can fire the railgun that will kill a column of enemies in one shot.

Will implement in stages
Shortcut key to fire rail gun instantly
long press and hold then fire on release
How long to charge before firing
How many enemies killed per rail gun shot

RPS5+

Figure out how to use circular lists logic to determine who wins and loses in a 5-weapon RPS game. This logic could be extended and scaled to fit any odd number of weapons for the game even if they don't make sense.

AI - Add autofire option

Assign a key to autofire so the player doesn't have to smack the spacebar a billion times to fire in a single game.

Hold down the spacebar or another key to continuously fire. letting go causes firing to cease.

playerRateOfFire should be about 4 per second? Experiment with speeds, or make it adjustable with two other keystrokes for slower or faster settings.

Implement simple graphing of a RPS3 game

This will take a little bit of planning.

What am I trying to graph?

Number of Games
Number of Wins
Number of Losses
Number of Ties
Longest Streak

Use some sort of Plot.ly? Pyplot?

Add sound fx to player shooting

Find a simple and short 'splut' sound effect to use for player shooting.
Open source/Free or just record myself.

Will need:
sounds.py module
importing the sounds.py module into the main module

AI - Implement Alien Shooting at Player

It will probably be random, but have the aliens start shooting at the player.

As the game progresses, the shots will become more frequent and a little faster so they are a little more difficult to dodge.

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.