Giter Site home page Giter Site logo

doyundev / flipon-tiny Goto Github PK

View Code? Open in Web Editor NEW

This project forked from valryon/flipon-tiny

0.0 0.0 0.0 12.21 MB

An open-source minimalist but playable version of Flipon

Home Page: https://www.flipon.net

License: GNU Lesser General Public License v2.1

C# 98.50% ShaderLab 1.50%

flipon-tiny's Introduction

Tiny Flipon πŸš€

Banner

An open-source minimalist but playable version of Flipon, my juicy fast-paced match-3 game.

Get the original game on:

The game was made by me (dev, project manager, release), AurΓ©lien Regard (2D art), Yoann Bazoge (UI/UX), Swann MΓ©nage (sound design) and Zander Noriega (music).

What is Tiny Flipon

Tiny Flipon is a playable Unity project containing the core gameplay of Flipon. Most of the source code is a direct copy of what is in the complete game.

Tiny Flipon GIF

What is included?

  • βœ… Core logic: Grid of blocks, move horizontally, combo, chain
  • βœ… Unity project
  • βœ… Objectives
  • βœ… Local multiplayer logic
  • βœ… "AI"
  • βœ… Touch controls
  • βœ… Dynamic UI and screen split
  • βœ… Unit tests for gameplay

What is not included?

  • ❌ Assets (no sprites, no backgrounds, no sounds, no FXs) - no copyrighted files!
  • ❌ Third-party premium plugins (Odin Inspector, InControl, etc)
  • ❌ Audio
  • ❌ Gamepad support
  • ❌ Menus, UI
  • ❌ Dialog system
  • ❌ i18n and texts
  • ❌ Custom editor tools
  • ❌ Console and mobile ports

Code Architecture & quality

THIS IS A FAR FROM PERFECT CODEBASE and it doesn't matter. I'm not releasing it because I want to show my C# skill, instead I want to show what a released game looks like inside: complex, some dead code (but some dead code is link to the "tiny" part), lots of code that could be refactored, scrap from previous projects...

Now, with Flipon I wanted to avoid using Unity's scene as much as possible except for the UI. That's why the Game scene doesn't display anything when not running: everything is created on Play.

I also wanted to have a testable independant C# project for the Core. That's why you have Block (core) and BlockScript (Unity MonoBehaviour). Turns out it wasn't a great idea, but I did manage to have Unit tests for most of that part. Also it could be reused in ahything else (ML, Flipon 99 players online, whatever).

BUT in the end a lot of game logic also happen in PonGameScript and GridScript (like chain detection), so it is far from perfect.

How to run

Open the project in Unity (2019.4.0f18).

Open the Game scene.

Play. It should run.

Now you can tweak the GAME SETTINGS GameObject to change players, objectives, grid size, speed, etc.

Game Settinngs GameObject

Question? Join the discord

Join the official Flipon discord if you have any question about the game or the code, it's your best chance to get a quick answer.

Contributing

The gameplay code is this repository is the same than in the game. If you want to make a significant modification or addition, I may or may not add it in the final game. If so, I'll indeed properly credits your work.

There's a .DotSettings file for Rider/Omnisharp if you want to follow the coding style of the prokject.

Note: I use as much Gitmoji as possible my commit messages.

flipon-tiny's People

Contributors

valryon 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.