General Game Playing
Style Checker

Lessons Notes Videos Readings Resources Arena

Stylechecker is a web page that allows you to specify a game state and a Javascript stylesheet and see the results of applying the specified stylesheet to the specified state. This is recommended before trying to use the stylesheet in playing games.

Stylechecker can be found here .

Stylechecker allows you to enter a state and a Javascript stylesheet. The state must be written in Prefix GDL. You can navigate through the state using the scroll bar in the text area. Note that you can change the state if you like. The stylesheet must be written in Javascript. The code must define a javascript function that takes a state as argument and produces a DOM fragment as result. (If you do not specify a stylesheet, the system reverts to standard GDL display for states.) Once you have supplied a state and a stylesheet, you can then see the result by pressing the Render State button.

Comments and complaints to