Code made for Computer Labs (LCOM), a subject in MIEIC (FEUP). Made in collaboration with @antonioalmeida
This repository holds all the code made made for a Computer Labs (LCOM) class @ MIEIC, FEUP. It was made in collaboration with @antonioalmeida.
The first set of folders correspond to mini-labs where we learnt how to interact and manipulate some common peripherals via the MINIX 3 operating system. These include the internal timer, Real Time Clock (RTC), keyboard, mouse and graphics card. The ultimate goal was to develop a project that incorporated as many peripherals as possible.
Our project then consisted of a simple retro-style infinite 2D shooter with Buzz Lightyear as our main character. Please refer to our report for complete implementation details.
The enemies are represented by squared boxes with different number signaling their difficulty, i.e., the number of shots needed to break them. Collision detection forces the player down the screen in case of contact, losing the game ultimately if reaching the bottom. The game screen also shows the current score, current ammo and bonus (bonuses are generated periodically and give the player extra abilities, such as double damage or invincibility).