Giter Site home page Giter Site logo

jzjisawesome / 15slide Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 1.75 MB

A fun, cross-platform, slidy-tile game written with C++ 17!

Home Page: https://jzjisawesome.github.io/15Slide/

License: MIT License

C++ 95.75% Shell 2.01% Makefile 1.20% M4 1.04%
c-plus-plus cpp17 puzzle-game terminal-game gui-game linux windows macos gui colours

15slide's Issues

swapTile

The swapTile with tile num has more code, but it is probably better (for consistency and logic) to move most of the code back to the tileY and tileX one.

X and Y coordinates

Apparently, at least with reIndex, [tile][0] is the y coordinate, not the x, and vice versa. Although it works with all other functions, it is confusing.

This is probably because tiles are being saved to a gridArray incorrectly, but hopefully it is just an issue with the index.

Major refactoring will have to be done to documentaion, Grid15 and GTKSlide::TileGrid either way at some point.

Gtkmm 3.0 on Windows

There are no official releases of Gtkmm 3.0 on Windows.

I may switch to Qt in the future in order to support more platforms with a GUI

Bounds checking

Throughout porting 15Slide to Java, it was seen that the original seemed to be missing some bounds checking in GridHelp, especially with tileNum occurances.

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.