This Git-inspired puzzle game is about building a timeline. Each point on the timeline is a snapshot of your progress in the game. The puzzles cannot be solved in a linear timeline, so you will need to create branching timelines, move between them, and merge branches back together. 

Controls

ActionButton
Move SidewaysLeft/Right arrows or A/D
Climb LaddersUp/Down arrows or W/S
Pick up/Use/Drop itemsSpace Bar or Enter Key
Enter 3-digit combination0-9 on keyboard or screen

This game has two screens: the Puzzle Screen and the Timeline Screen. The Puzzle Screen is played using the controls listed above. The Timeline Screen is only played using a mouse.

Puzzle Screen

The Puzzle Screen displays the puzzle that you need to solve.

Puzzle Screen

  • The goal of each puzzle is to advance to the right side of the screen and on to the next one. 
  • Ladders and keys can be picked up. 
  • Keys are used to unlock doors and boxes. The key's colour (or shape) must match the door/box colour (or shape). 
  • Doors with combination locks require 3-digit codes, which are found on signboards.
  • When you're holding an item, you cannot pick up another item or climb a ladder.

A blue key with a triangle holeA blue door with a triangle symbolA blue box with a triangle symbolA door which needs a 3-digit combinationA signpost which might have a 3 digit combination

  • The "Save" button adds a new snapshot that can be accessed by the Timeline Screen. 
  • The "Timeline" button navigates you to the Timeline Screen.

Timeline Screen

The Timeline Screen displays the timeline that you build, the buttons you use to manipulate the timeline, and a view of the Puzzle Screen. 

Timeline Screen

The snapshot on the timeline with a green outline represents where you are currently at on the timeline. 

Adding to the Timeline

  • To create snapshots on the timeline: click the "Save" button on either screen.
  • Each time you save, you add a new snapshot to the timeline. Saving does not overwrite your existing snapshots. 
  • The new snapshot is attached to the right of the current snapshot, and it becomes the new current snapshot. 
  • If there is already a snapshot to the right of the current snapshot, the new snapshot will still appear to the right of the current snapshot. It will create a new branch in the timeline.

Moving Around the Timeline

  • To move to a snapshot: select the "Load" button and then click on a snapshot. 
  • The "Load" button is selected by default, so you often don't need to manually click on it before clicking on the snapshot. 
  • The selected snapshot will then be loaded onto the Puzzle Screen, and will become the current snapshot. 

Merging Branches

  • To merge a branch with the current branch: select the merge button, then click on the snapshot you want to merge with. If there is a more than one resolution then you will be prompted to select your preferred outcome. 
  • A merge combines two snapshots, bringing together the changes that have been made on each branch since the point where they diverged.
  • You can merge two branches from any snapshots along those branches. The snapshots do not need to be on the end of the branches.
  • If you need to resolve a merge then you wont be able to do anything else until the merge is resolved.
  • There is an explanation and example of how merges work below.

Comparing Snapshots

  • To compare two snapshots: load one of the snapshots, select the compare button, then click on the other snapshot that you want to compare. 
  • Comparing is not required for any puzzle, and it has no impact on the puzzle. 
  • Comparing can be a useful tool when trying to work out why (or why not) a merge has multiple possible resolutions.

Deleting Snapshots

  • To delete a snapshot: select the delete button then click on the snapshot that you want to delete.
  • All descendants of the deleted snapshot will also get deleted.
  • Deleting is not required for any puzzle. This tool only exists as a way of cleaning up the timeline.
  • You cannot delete the starting snapshot. 
  • If the current snapshot gets deleted then the selected snapshot's predecessor becomes the current snapshot. 

How a Merge Works

In this level, you need to bring the ladder up onto the second platform.
(This level isn't in the game.)

You can pick up the ladder and you can climb the ladder, but you can't do both simulatenously. To resolve this problem, you can create separate branches where you pick up the ladder in one branch and you climb the ladder in the other branch.


When you merge, the game will look at the current snapshot (3) and the snapshot you want to merge with (2).  It searches for a snapshot that is a "common ancestor" (1) which is a snapshot where you can follow arrows leading from it to the snapshots you want to merge.

The game then compares the common ancestor to the two snapshots that are being merged to figure out what has changed since their branches diverted. The game then applies all those changes to the ancestor snapshot to create a new merged snapshot (4). 


If the same variable changes in different ways in both braches in then you will need to resolve the merge. For example, if you had to move the ladder to different positions in both branches then you must decide where it ends up.

When a position in two snapshots are close enough then they don't count as a change, and this could prevent a merge from having multiple resolutions. You can use the Compare tool to check if the ladder was moved far enough in snapshot 3 to be considered a change. In this case, the ladder was detected as a change, which is why you are prompted to resolve the merge.


Bonus Challenges

  • Reach the end with the fewest number of snapshots 
  • Reach the end with the fewest number of merges that need to be resolved
  • Find the 2 hidden rooms

Both hidden rooms involve solving a puzzle to reach them. They require you to be observant, but they don't involve fake walls or climbing out the camera's field of view. Also, the trophies don't help you with the puzzles.

Future Work

This game mechanic was inspired by Git. Originally this game was meant to be a tutorial on how to use Git, but I didn't make that because there are features in Git that I did not want to include in this game.

If I ever make a Git tutorial game (or if you want to) then here are a things I would do differently:

  • Add a branching story to the game 
  • Include more types of variables such as money, health, fuel, plot events, or potion ingredients 
  • Include binary variables where both values are important
  • Find a nicer way of representing position
  • Gradually add buttons to the timeline menu 
  • Add cherry picking, reverting, and other Git tools 
  • Let the player add messages to snapshots
  • Expose the inner workings of a merge without overwhelming the player
  • Show unsaved changes
  • Intuitive UI


I have attempted to make a game like this once before, but it was text-based and required you to directly use Git. You can download it on Github: https://github.com/jakbrtz/Git-Game

UPDATE: I made a full version of this game that includes half of the bullet points listed above. You can play it here: https://jakebortz.itch.io/anastomosis 

StatusPrototype
PlatformsHTML5
Rating
Rated 4.6 out of 5 stars
(16 total ratings)
Authorjakebortz
GenrePuzzle
Made withUnity
Tags2D, Experimental, git, Puzzle-Platformer, Singleplayer, Time Travel
Average sessionAbout a half-hour
LanguagesEnglish
InputsKeyboard, Mouse
AccessibilityColor-blind friendly

Comments

Log in with itch.io to leave a comment.

Cool idea

(+1)

I'm so happy to see the demo game is now a full game that got released!!!! I played a long while ago, and think of it every month or so!

Adding onto this before I forget:

Don't read further due to spoilers:

This is how I solved the game with 22 moves, and 30 moves for 3 trophies.


For the first few levels, you can cheese a little knowing codes in advance, or by carrying/throwing ladder to pass doors. 

For level "Grotto" you can clear it by throwing both the red key over the door, and throwing the ladder over to the door. Then, carry the red key into the next level, this is a "key" part to solving frame 9, opening the red box for getting the green key without needing the red key on this level.

Snapshot 14 and 15 are a bit of clever use to get a ladder, green, and blue key to the top of the level, the ladder is used to solve the next level without needing time travel.

Snapshot 14 is also used

The rest of the solutions are relatively normal and just using the ladder-climb-over-door trick.

(wrote the solve explanation because after a few more months, I'm going to forget completely and no longer be able to solve it)

(+1)

Thanks for being such a great fan. Your reaction and solutions to the demo game played a big role in designing the full game. I can't wait to see how you solve it!

(+2)

Took me a few frames to REALLY understand what I was doing. I can't think very many steps ahead so my finish was 3 trophies in 70 frames.

Awesome game but I don't know if I would enjoy a longer version, I already struggled with it.

(+2)

Cute game!
(+2)

Can I just say, how many headaches do you want to give people?
 this game is amazing  just so you know

(+1)

Ok, I'm confident this score cannot be beaten. 22 frames for ending trophy,

6+2 frames for secret trophies, total 30 frames.

I had to mess around a LOT to figure out how to open the yellow door without needing a frame to branch off so I could merge backwards. I'm not sure if anybody can even copy how I did it even with the timeline revealed below. I used three tricks to do it. 

30frame win
30frame win solution
(+1)

I finally worked out how you did it. That's amazing! I love how snapshot 14 is used so efficiently. 

(+1)

I'm especially proud of frame 9, getting the green key without time travel is the linchpin of the entire setup for frames 9 to 14!

By making certain snapshots useful for all three trophies, I was able to use one less snapshot to get all trophies in 32 snapshots. I'm 90% sure I can't get it down any further but if somebody else manages it, I'll be pleasantly surprised!


23 for main trophy,

+6 (=29) for yellow door,

+3 (=32) for ladder trophy.

32 snapshots total.

(+1)

Congrats, you have beaten me at my own game! 

I found that the game was more interesting when using the ladder-door trick. I liked discovering that Grotto (the yellow door level) could be solved without making a single snapshot!

(+1)

After analyzing your answer, I found you can use one less snapshot by making snapshot 24 more efficient. Good luck! 

It's seems barely possible... the issue is bringing back both a ladder and blue key without wasting frames requires the merge come from frames 9-16, which is after the golden key door.

I'd either have to waste a frame to make a branch (otherwise I can't merge backwards in time), OR I need to get two red keys and a green key without using frames on timetravel in order to physically go backwards to the golden key door. (which is blocked by a red and green door, that I skipped using a ladder so both are locked, and the only nearby greenkey is locked by a red key).


...it might be possible?

I pulled it off, and saved a 2nd snapshot while I was at it, too!

(+2)

69 for main 76 for yellow door 82 for ladder +1 frame to read the thanks for playing sign on my first run.
very enjoyable game with intriguing mechanics!

(+2)

71 snapshots, but I got all the trophies!


(holding 2 at once lol)

Congrats! Pretty sure you found the trophies way faster than I did, it took me a long time (the ladder trophy I thought was impossible because I tried to get it with a shorter ladder, so I thought all ladders didn't work LOL)

Yep, found all 3 trophies now. I don't think I can optimize this to be more efficient.


My current record, 24 snapshots for end trophy. An extra 5 for teleporting the second trophy. Can't figure out where the third trophy is unfortunately.

Actually, I think I know where the third trophy is.

(+2)

78 is probably easily beatable score :)


Oh, wow! Nice find on all three of the trophies!

(+2)

really cool

(+1)

Beat the game in 37 snapshots, currently trying to figure out what unlocks the yellow door (tested trophy doesn't work like a key, I don't remember ever having any yellow keys in the game either).

37 snapshot win
failed attempt to open yellow door
(+1)

Abusing ladders to climb over doors seems to be one of the more snapshot-efficient strategies to beat the game.

(+1)

haha you're not supposed to climb over doors! I'm not sure if I should fix that or leave it in because it's funny. 

The trophy has no practical use, but you're on the right track thinking to move items between levels.

(+1)

remember that one blue cube at the start? try looking there

Thank you for the hint! I was able to find all the trophies now!

glad to help

(+1)

Feels weird. I beat the game in 37 snapshots, now I can get all 3 trophies in only 30 snapshots. Came a long way in optimizing it, lol

(+1)

This is an amazing game! Very clever, although the player movement holds it slightly back (having a slow-moving player character makes the game mildly frustrating when you already solved the puzzle and need to carry it out. This issue reminds me of a similar time-travel game, Braid.)

(+1)

Thanks for the kind words and useful feedback!