GithubHelp home page GithubHelp logo

memorygame's Introduction

Maven Test

Memory Game

image

Game where you flip cards to find pairs. Made with JavaFX.

By Otto Oksanen, Eetu Soronen, Hasan Safdari & Samu Oksala

Table of Contents

Getting Started

Compiled Windows builds and Jars for other platforms are available in Releases section.
To build or run the game yourself, use Maven (preferably in IntelliJ).
Note that if you want to build the game yourself, this repo does not contain the database server credentials. They are provided elsewhere.

About The Project

This project was made for Ohjelmistotuotantoprojekti 1 & 2 courses at Metropolia UAS. The project is a simple memory game designed for anyone who wants to improve their memory.

Vision

Our vision was to create a fun memory game that's easily accessible. The game was made to improve the players mental capabilities.

Builds

Windows builds and Jar files are available in the releases section. To build the app yourself, first generate a JAR file with Maven, then run the "build.ps1" file to generate a .msi installer. MacOS and Linux have to run the JAR File (Java 17+ required).

Jenkins

To get tests running through Jenkins, first build and run the Docker image with the following command:

docker build -t moby-dick ./ && docker run -d -p 8083:8080 moby-dick

Then go to localhost:8083 and you should see the Jenkins page.

To get the jenkins password run the following command:

docker exec -it <container id> cat /var/jenkins_home/secrets/initialAdminPassword

Then paste the password to the jenkins page, and you should be able to create an admin account and access the jenkins dashboard.

Create a pipeline job with the Jenkinsfile contents. Remember replace the placeholder environment variables first or the server tests will fail!

Note the surefire reports have no styling by default. This is due to Jenkins security policy. The feature can be disabled by running the following in the Jenkins script console:

System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "")

Github Actions

Runs every time a pull request is made. You can download the surefire reports from the Actions tab on GitHub. Runs the same unit tests as Jenkins

Javadoc

Javadoc is available here.

memorygame's People

Contributors

soronen avatar rocksanen avatar tahasafdari avatar samuok 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.