nimapourjafar / alec Goto Github PK
View Code? Open in Web Editor NEWFirst game with PyGame and final cs assignment for grade 10 computer science
First game with PyGame and final cs assignment for grade 10 computer science
Nima Dehkordi: ALEC ALEC is a 2D spaceship shooter, similar to games like space invaders and genres like Shoot 'em up. It is also survival orientated, so the player must try to survive for as long as possible to get a higher score. The player has the ability to control their ship and shoot lasers. They have to shoot asteroids to be able to advance and survive. They also have to shoot bosses, enemies that shoot the player and have high health. They spawn at constant intervals, and the player must beat the boss to be able to advance further. The game progressively becomes harder as bosses get more health and deal more damage, and asteroids travel faster. Powerups are spawned and can be collected to get back health or enhance the player's lasers. The player's high score is also saved, even when the program is stopped. I kept to many of my promises and delivered everything I guaranteed to deliver. I was not able to work on the optional stuff I wanted to do though. I couldn't get the backgrounds to change smoothly, and I was not able to think of a way to make the physics of asteroids bumping into each other. Ms.Wong also told me to add the feature to track the player's high score, even when they quit the program. I didn't promise this feature initially. My game is very bug-free, but I have encountered a couple of bugs throughout testing. Very rarely, the game would slow down a lot when the boss spawned. I found that when the player killed the boss, it sped back up again. I didn't know how to troubleshoot this bug because it would happen so rarely, so it may just be my computer being very weak. This may not constitute as a bug, but the spaceship's hurtbox doesn't exactly match the image of the spaceship. As well, if the player changes the high score text file, it can display a high score they didn't get. I would consider this "hacking", but it is a flaw in my program so it constitutes as a bug. I had a lot of ideas for future features for my game, and I think it would they would it an actually interesting game. I would have liked to have different bosses for the play to encounter, enemies that spawn to shoot the player, a sort of currency system where the player can buy things to reach higher levels, and obstacles that aren't asteroids. For now, I kept my game pretty simple so I could add on these features in the future. For testing, you can modify variables and booleans to try to get stuff to work. Things like the shotgun power-up can be turned on but just making a boolean True. Everything else is a class or a function, so you can change the game's attributes easily.
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.