Match the pattern to progress.

controls

(◀▲▼▶) to shift

( X ) to XOR

( Z ) to revert

( Ctrl+R ) to restart game

( Enter ) for menu


About

VXOR [vɛksɔr] is an endless puzzle game for the PICO-8 Fantasy Console.

  The puzzles are procedurally generated.

    Some puzzles may be unfit for human consumption.

      Feel free to restart the game to get a new set.


Created by Eric Billingsley for TweetTweetJam 9

Code (500 chrs):

function r(b,m,s)if(p(b))n=(n&~m)>>>s|(n&m)<<s*4end
function v()r(0,0x8421.08,-1)r(1,0x842.108,1)r(2,-2048,-5)r(3,.06055,5)if(p(5))s^^=n
end
l=0function d(n,f,c)for i=0,24do if(n&1<<15-i!=0)?f,43+i%5*9,y+i\5*9,c
end
end::y::if(l%5==0)s=8c=9+l%6
k=rnd(l)n=s
l+=1p=function()return rnd()>.96^l
end
q=n::u::v()if(p()or s==0or q==s)goto u
g=s
n=q
s=q
p=btnp::d::if(k>0)?"⁷g"..k
flip()cls()?l
k=p()*3.5y=13o="(ᵇ~ノᵇk-)"v()if(p(4))s=q
d(~0,o,1)d(s,"●",c)d(n,o,7)if(s==g)goto y
y=73d(~0,o,1)d(g,"●",12)goto d

Unminified & commented code (github)

Download

Download NowName your own price

Click download now to get access to the following files:

vxor_windows.zip 978 kB
vxor_osx.zip 7 MB
vxor_linux.zip 739 kB
vxor_raspi.zip 2 MB
vxor.p8.png 3 kB

Comments

Log in with itch.io to leave a comment.

This is super impressive! Love how cool this is.

Surprisingly complex mechanics, awesome work. Was going to ask how you tested if all the puzzles were solvable, but looks like you pit a little disclaimer in there.😄

They are all technically solvable since they're generated by making random moves! Some of them are just absurdly difficult and hard to reason about

Okay, that makes sense. I've been working on a number-based puzzle game and it's so open-ended I don't know how to check if things are solvable, so I've started chipping away at brute-force testing.

Elegant little game, really awesome!

Nice puzzle game. Most puzzles can be solved in just one move but sometimes I find lots of moves are needed.

got stuck on lvl 15 and gave up lol

(+2)

As a robot I depreciate this

This is a fantastic piece of work.