Giter VIP home page Giter VIP logo

mines's Introduction

mines

Note: This software is in development. It may be that some of the things I write here do not yet exist.

Minesweeper. Minesweeper is a logic puzzle video game genre generally played on personal computers. The game features a grid of clickable tiles, with hidden "mines" (depicted as naval mines in the original game) scattered throughout the board. The objective is to clear the board without detonating any mines, with help from clues about the number of neighboring mines in each field.

This implementation of Minesweeper has the goal of investigating pluggable frontends (as in Aptitude is a frontend for Apt libraries). By default, this game is playable via a built-in TUI but the program can be instructed to run in backend mode. In backend mode the program will expose an Unix-socket server (no Microsoft Windows, sorry) that will accept game commands and will return new game state after applying said commands. This should hopefully make possible to build any frontend with any technology.

Eventually, shall I find the time, another Desktop-only frontend will be provided using Tauri.

Usage

You need Go 1.22.1. This software is meant and designed to work on Unix-like systems. I will not make any attempts at compatibility with Microsoft Windows. For the moment, this software has no third-party dependencies save the Go standard library.

From the source root folder, run go test ./... to run tests or run go run ./cmd/cli to run the built-in client.

mines's People

Contributors

federico-paolillo avatar

Watchers

Lucian avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.