Jump to content

PUZZLE game using an HTML5 P-code Engine


Butch
 Share

Recommended Posts

There is a puzzle game at http://www.html5pcode.com/a1ypuzzle.htm The p-code was written in HTML5 JavaScript.

The home page is http://html5pcode.com

A pattern was made for each puzzle piece. Random numbers were used to make the jagged sides. HTML5 has an image option that allows you to use a pattern like a cookie cutter. The result was an image that could be turned and then placed on the right side of the screen. Random number were used to determine where each piece would be placed.

This game is written in a p-code. The p-code is executed by a p-code engine. If you click on PROGRAM in the RED STRIPE at the top, you can view the p-code programs. The p-code engine can execute the programs and it can edit the programs.There is a DATA option that allows you to see the program's data as it is being executed. There is a TRAIL option that allows you to execute the program in small steps. There is an RT, Real Time, option that allows you to change the program as it is executing. There are many YouTube videos that will show you how it works.

jpgpuzzle.jpg.3ee75d59023808d265545cee2406cbf5.jpg

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...