Skip to content

bi3mer/match-three

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

match-three

Assets found on itch.io under CC 4.0.

Bugs

  • Two pieces of the same kind can stack on top of each other and break the game.

Website

Game can be played on index.html. This comes with the dist folder--- that way the game is playable from GItHub pages---so you don't have to build anything if you want to play locally. If you do want to build, use one of the following commands:

bun run build # Build once for debug
bun run prod  # Build once for production, minifies
bun run watch # Build as you save files while developing

Server

The server can be called to find the most point solutions for an input level.

bun run server

Sample call with Python:

import requests

lvl = [
    6, 3, 6, 3, 0, 2, 
    4, 3, 3, 6, 6, 2, 
    3, 2, 4, 1, 4, 1, 
    2, 1, 6, 0, 4, 6, 
    2, 4, 5, 6, 4, 1, 
    2, 0, 5, 0, 6, 5, 
    2, 3, 4, 0, 2, 3
]

print(requests.post('http://localhost:8000/solve', json=lvl).content)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors