Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/lestard/Grid

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/lestard/Grid

  • v0.2.0
  • Source
  • Go
  • Socket score

Version published
Created
Source

Grid

Build Status

Grid is a JavaFX (8) component that is intended for different kinds of small games that are based on a grid of squares like chess or sudoku.

Examples are:

Goals

  • The grid will resize itself automatically so that all available space is used. The aspect ratio of the squares will not be influenced by the resizing.

  • When the window is resized the grid will also automatically scale down/up.

  • The number of columns and rows of the grid can be controlled by javafx properties. This means that the grid will automatically add/remove new cells when the number of columns/rows is increased or decreased.

  • Every cell has a state that defines how it is rendered. The available states are defined by the developer with an enum.

  • There is a separation of the GridView and GridModel.

    • The GridView defines how the grid will look like. You define how a cell is rendered when it has a specific state.
    • The GridModel only controls what status the cells have. In your game logic you will only modify the gridModel.

FAQs

Package last updated on 17 Jan 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc