Skip to content
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.

tibovanheule/Javascript-game-scriptingtalen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Javascript-game-scriptingtalen

Some notes

I have used my own server to test out the sricpts. The server has a content security policy in place, so the code a written with that restriction in mind.

There is a jquery class (script.js) that handles all communication to the python scripts. I use a second script to handle all clicks and to update the board. (clicks.js ) that script can be placed inline if you run it on a server without csp (otherwise it will block it)

local sever

we recommend to run just scripts in projects.

file structure

root

  • hulpbestanden (contains the task)
  • project (project files)
  • .travis.yml (For Travis CI to test out the python scripts, when i commit to my github repo)
  • readme.md

project

  • cgibin (python scripts)
  • gameScriptingtalen (html and js files)
  • index.html (main index file (menu))

cgibin

  • gekleurde druppel.py (new game functie)
  • doMove.py (do move functie)
  • test.py (implements some functions of doMove.py and see if it works. for Travis CI )

gameScriptingtalen

  • druppels
  • minesweeper

minesweeper or druppels (files the same with some minors changes (just the text) )

  • clicks.js (contains the onclick functions to start the correct method in script.js)
  • clicks.min.js (minified version)
  • game.css (css for the dots ,controls and popup)
  • game.min.css (minified version)
  • index.html (game page)
  • loader.gif (for when the game is loading)
  • script.js (Jquery class game, for visualisation.)
  • script.min.js (minified version)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published