Real time Reversi by thesnide

[raw]
made by thesnide for LD 41 (COMPO)

This is a real-time ~~chess~~ Reversi.

The chess part proved too difficult to do in the allocated timeframe (less than 6h as I didn't plan to take part in it at first. But once the game design found, then the need was just too big 😜 ).

Rules

  • You can click whenever you want, and a random color is choosen.
  • Only the verticals & horizontals are swapped
  • Both players can click at the same time, it's real time.

The real game mechanic should choose "cleverly" between the white or black that changes the most chips, but I didn't have time to implement it.

Game Engine

I'm using PixiJS, which is great! (I just learned it while doing the compo)

Source Code

It's a very simple HTML5, so just go there and view the source in your browser. The main code is in the JS : http://snide.free.fr/ld/ld41/rtc.js

Future

I might upload an updated version of it, with "working" color selection.

Ratings

Overall 708th 2.048⭐ 23🧑‍⚖️
Fun 707th 1.675⭐ 22🧑‍⚖️
Innovation 698th 2.143⭐ 23🧑‍⚖️
Theme 687th 2.375⭐ 22🧑‍⚖️
Graphics 686th 1.775⭐ 22🧑‍⚖️
Mood 647th 1.553⭐ 21🧑‍⚖️
Given 9🗳️ 5🗨️

Feedback

sndr
23. Apr 2018 · 11:44 UTC
Whoa, learning Pixi while doing the jam! You're brave, ha!
Johnny Turbo
13. May 2018 · 00:22 UTC
Cool little game! I would have loved to see what you would come up with if you integrated a chess game into this game. I didn't have anyone to play it with but it would have been interesting to see what that gameplay would have been like. Congratulations on making a game in such a short amount of time with new tools you hadn't used before!
LuckyFeathers
13. May 2018 · 04:37 UTC
With the colors being random there isn't really any gameplay here, which sucks because the rest seems to be well implemented. If I understand the game correctly there's supposed to be a turn system where you alternate between white and black? I've never used Pixi before, but I assume there's some way to add a boolean? Something like

let whiteTurn = false;

And in your function OnDown(eventData) you say

if (whiteTurn) {

whiteTurn = false;

let texture = player_textures[ 1 ];

}

else {

whiteTurn = true;

let texture = player_textures[ 0 ];

}

And then you do the SetTexture and SetPlayer like before.
RobertoHigor
13. May 2018 · 06:01 UTC
Good work using PixiJs, I just couldn't understand what's the game about.
Temmy
13. May 2018 · 08:04 UTC
Great stuff in learning PixiJS; that's one of the things I love about jams; that it's a great excuse to sit down and delve into something new. Hope you had fun!
Zinkler
13. May 2018 · 08:12 UTC
Never played reversi before, so I had to google the rules. You're supposed to surround enemy row with your color for the colors to swap, right? If so, then the game doesn't always work properly, changing the rows in some strange ways. I wouldn't say that there is a lot of gameplay in this particular game, but I love the idea of real-time chess you had. I hope to see you here again in August, next time with full 48 hours!