GithubHelp home page GithubHelp logo

joaocostaifg / lcom Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 340.5 MB

Code developed for the LCOM course, MIEIC FEUP 2019/2020.

License: GNU General Public License v3.0

C 96.26% Makefile 0.44% C++ 1.63% Python 0.37% Shell 1.30%
lcom minix feup mieic

lcom's Introduction

LCOM

The report explains the LCOM project in detail (in case you're interested).
To compile and run the game:

  • cd to the src/ directory
  • write make clean && make
  • lcom_run proj "<path_to_the_resources_directory> <video_mode>". It should be noted that these command line arguments are optional.

Grades

  • Lab. 2 - 99/100;
  • Lab. 3 - 16/100 (we submited the wrong version, which didn't even compile);
  • Lab. 4 - 87/100;
  • Lab. 5 - 92/100;
  • Final Project - 19.77/20.

The code for the labs was improved a lot for the final project, so you should check the code on the project instead of the labs.

Final project details

The game is highly configurable and has a both a singleplayer and a multiplayer modes.

In the singleplayer mode, you play as a snake and must face increasingly difficult waves of enemies, that will try to kill you, by shooting them. The more you shoot, the smaller you become. When enemies die, they drop strawberries that you can eat to increase your size. You die when you get damaged if only your head remains (minimum size).

In the multiplayer mode, you play against a friend in a different computer (connect through a serial port). The game mechanics remain mostly the same, with the exception that enemy scaling has been removed. To win, you must kill the other player (or wait for him to die to his enemies), by shooting/colliding with him.

MINIX image

The MINIX image used as been added to the repository for preservation (if something fails in the future, run the image without internet connection).

Contributors

This project was developed with my good friend João Lucas for the class (work in pairs).
I also promissed my friend Ana that I'd give her a place in the credits (as a joke) for an idea we discussed so here it is.

lcom's People

Contributors

joaocostaifg avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.