Card game prototype/skeleton based on "Reigns" and "Lapse" - mostly just an educational sample project
This repository has been archived on 2025-09-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • C# 53.3%
  • ShaderLab 27%
  • GLSL 12.8%
  • HLSL 5.8%
  • Shell 0.8%
  • Other 0.3%
Find a file
2025-09-16 00:42:10 +02:00
DeckSwipe updated settings 2024-02-25 20:31:05 +02:00
.gitignore update to Unity editor 2022.3 2024-02-25 20:12:48 +02:00
fix-indent.py Amend description of fix-indent.py 2018-09-24 13:36:21 +02:00
install.sh.default Make install.sh locally configurable 2018-08-09 05:36:28 +02:00
LICENSE Update LICENSE and README 2020-09-18 18:29:03 +02:00
README.md Update readme to reflect project status 2025-09-16 00:42:10 +02:00
screencap-android.gif Increment package version, update screencap 2018-09-24 14:19:27 +02:00

DeckSwipe

Note from @outfrost: I made this for my internship in 2018, and the code was sound to me at the time. I wanted to work on it a bit more, but other things took priority, and eventually I lost interest. Still, the repo has gathered some interest over the years, mainly (as far as I can tell) among folks learning how to make games, so I'm keeping it around for anyone who'd like to learn from it or make something with it.

About

This is a skeleton for a simple card game. There are 4 gameplay resources (predefined as Coal, Food, Health, Hope), each contributing to the chances of survival for the player's city. Choices that the player makes through swiping each card left or right will influence those resources in various ways. If any one of the resources depletes (reaches zero), the game is lost and reset. The player's objective is to make decisions such that depletion doesn't happen, and the city survives, for as long as they can manage.

The core mechanics and visuals are heavily based on Reigns, and a clone, Lapse: The Forgotten Future. The sample content is mostly inspired by Frostpunk and its neverending winter.

Created with Unity on Linux, primarily targetting Android.

Screen capture of the game running on Android

Development

This project is archived. If you wish to make use of the repo, I recommend forking or copying, and adapting it to your needs.

License

All content published in this repository, be it software, in source code or binary form, or other works, is released under the MIT License, as documented in LICENSE, with the following exceptions:

  • TextMesh Pro

    Bundled with Unity and distributed on Unity license terms

    https://unity3d.com/legal

    Files:

    • DeckSwipe/Assets/Dependencies/TextMesh Pro/*