Giter Site home page Giter Site logo

squarereflect's Introduction

SquareReflect

build project test project badge

Project description

SquareReflect is a 2D maze game with open mechanics thanks to infinite possibilities of tiles.

This game allows you to play a small character lost in a level and your goal is to reach the end of the level. No gravity physics make you continue your way until you hit a tile that can allow you to choose a new direction to go.

The project is currently split in several projects :

  • Core/Core.csproj manages the mechanics and global classes such as tiles, boards and games and cannot be started,
  • ConsoleUI/ConsoleUI.csproj allows the Core project to be viewed and inputs to be managed via the console,
  • GraphicUI/GraphicUI.csproj launches an application that makes the game clearer thanks to the MonoGame graphic labrary based on Microsoft's XNA library (currently WIP),
  • Test/Test.csproj contains all the written tests.

Only a few boards are available in the 'Boards' directory, but more will be added soon. The goal is to create an editor that will allow everyone to create their own levels.

Technologies required

This project requires .NET version 6.0 and uses the Monogame library version 3.8.1.303.

Launch

Launch via sources

ConsoleUI

To run the ConsoleUI project, execute the following command

dotnet run --project ConsoleUI/ConsoleUI.csproj

You can add the name of the board you want to play with using the seconde command. The board must be in the SquareReflect/Boards directory with a .srboard extension. You don't need to include the extension in the command.

dotnet run --project ConsoleUI/ConsoleUI.csproj -- <BoardName>

Fonts have different renderings, to maximase the visibility you can set your terminal font to Noto Sans CJK HK Bold.

GraphicUI (WIP, not yet available)

To run the GraphicUI project, run:

dotnet run --project GraphicUI/GraphicUI.csproj

Running tests

You can run tests with:

dotnet test

squarereflect's People

Contributors

lomination avatar to-om 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.