Code Monkey home page Code Monkey logo

quoridor's People

Contributors

sfod avatar

Watchers

 avatar  avatar

quoridor's Issues

Too many imageset files

It's simpler to keep all images in one file (e.g. quoridor.png) and load images with one imageset file (e.g. quoridor.imageset).

Use Qt signals

Event system is built on Boost Signals now. But Qt provides its own signal mechanism, so it would be logical to rewrite event system.

mouse position is calculating twice on pawn dropping

Mouse cursor in the dragging window is calculating in two methods:

  • DraggedWindow::handle_stop_drag_
  • GameState::handle_pawn_dropped_

And handle_stop_drag_ fires event to which handle_pawn_dropped_ is subscribed.

strange diagonal moves

Sometimes pawn jumps over another pawn by diagonal despite free field behind other pawn.

Improve design

At this moment adding new element to the board requires a lot of time and effort.

Change method to set walls

Make wall stock as abstract walls holder.
When player clicked with left mouse button on this stock new wall is sticking to mouse cursor.
Another left mouse button click sets wall, right mouse button click cancels operation.

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.