Giter Site home page Giter Site logo

flslidingpuzzle's Introduction

FL Sliding Puzzle

热烈庆祝学期结束,猫猫的 Sliding Puzzle 已开源!!

As celebration of the end of semester, the FLTK Sliding Puzzle is now open source!


Howdy fellow programmers, welcome to the world of Computer Science!

Here we present to you an addictive game, the sliding puzzle! It is actually our final project for CSCE121, but let's still have some fun from the project. I hope that everyone can learn something by doing the project.

What is it?

It is a game written in C++, and uses FLTK graphics library. The interface is not too fancy, but the game is still fun. The source code is also open so everyone can compile the program themselves. Here is the wiki page for 15 Puzzle, if you want to read more.

Building

Checklist:

  • FLTK 1.3.2
  • C++ 11
  • GNU Make (Or any alternative)

1. Clone this repository

git clone https://github.com/maomihz/FL-Sliding-Puzzle.git
cd FL-Sliding-Puzzle

2. Compile

A Makefile is given to compile and run the program. To compile all files, use the following command:

make

To compile and run:

make run

Make sure that FLTK is installed and put in PATH. Please refer to official documentation of FLTK on how to set it up on your machine.

To Do List

  • Fancy Splash Button
  • Fancy Game Background
  • Help screen
  • Interactive help screen
  • About screen
  • Pause game
  • Configuration & Leaderboard
  • 2048
  • Animation on moving tiles

flslidingpuzzle's People

Contributors

maomihz avatar

Watchers

 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.