Thanks to visit codestin.com
Credit goes to github.com

Skip to content

corvuscorae/z3demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A demonstration of Z3 SMT Solver in JavaScript

Solver constraints

  • Children and pets puzzle contraints can be found here
  • Fence constraints are as follows:
    • LEFT fence side is at tile x = 5
    • RIGHT fence side is at x = 10
    • TOP fence side is at y = 15
    • BOTTOM fence side is at y = 25
    • Generating inside fence
      • must be inside the fence boundaries
      • cannot be on a fence
    • Generating on fence
      • must be on the top or left fence
    • Generating outside fence
      • must be at an x-value of 8 or greater
      • must be at an y-value of 20 or greater
      • must be outside of the fence boundaries
      • cannot be on a fence

Next

  • make on fence generation less biased (generate more values along the top as well as the left)
  • refactor to output (x,y) pairs
  • add functionality to take constraints as inputs
  • rework for use in a game engine (such as Phaser)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published