Skip to content

Own version of the iconic game Crossy Road

Notifications You must be signed in to change notification settings

J-R-012/li1_project

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project - Crossy Road

  • Own version of the iconic game Crossy Road coded in pure Haskell, this project was developed within the scope of the subject "Laboratorios de Informática I" in the first semester of my Degree in Software Engineering at UMinho.

MENU

MENU

SKINS

FIM

Repositório

If you already have an SSH key configured, simply clone the repository:

$ git clone git@gitlab.com:uminho-di/li1/2223/2022li1g035.git
$ cd 2022li1g035

If you don't, use the the link:

$ git clone https://gitlab.com/uminho-di/li1/2223/projetos/2022li1g035.git
$ cd 2022li1g035

Interpreter

Open the Interpreter of Haskell (GHCi) using cabal ou directly.

  1. Using cabal
$ cabal repl
  1. Using GHCi
$ ghci -i="src" -i="tests" src/Main.hs

Tests

The project uses the HUnit library to perform unit tests.

You can run the tests using one of the following alternatives:

  1. Using cabal
$ cabal test
  1. Using GHCi
$ ghci -i="src" -i="tests" tests/Spec.hs
>>> runTestsT1 -- Run task 1 tests
>>> runTestsT2 -- Run task 2 tests
>>> runTestsT3 -- Run task 3 tests
>>> runTestsT4 -- Run task 4 tests
>>> main -- Run all tests
  1. Using the runhaskell wrapper
$ runhaskell -i="src" -i="tests" tests/Spec.hs

Documentation

You can generate documentation with Haddock.

  1. Using cabal
$ cabal haddock --haddock-all
  1. Using haddock directly
$ haddock -h -o doc/html src/*.hs

Grupo 35

  • A103995 José António Costa Soares;
  • A104090 Nuno Miguel Parente Morais;

About

Own version of the iconic game Crossy Road

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Haskell 92.9%
  • C 7.1%