tomasquinones / python_education Goto Github PK
View Code? Open in Web Editor NEWAll 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.
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.
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
Simple leaderboard of top 5 games.
Show date, player name, score, max level
Maybe collect and show other stats like
ShotsFired
EnemiesDestroyed
MaxLevel
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.
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.
the high score is front and center of the game
Make the text about 75% of current size?
Add 'High Score:xxxx" next to the high score
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?
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
Give the player another ship after reaching some arbitrary score like 10,000 or whatever feels right.
Implement the GameState class to contain the Winner(), Loser(), and Stalemate() methods.
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.
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.