Categories
Fun Games

Labyrinth

Labyrinth Objective of the game
How to play
How its made

New subdomain named labyrinth.goodplace.eu was added.
First – level 0 – maze is only simple 3 x 3 grid. Shortest way is only 5 steps.
Try your luck. 😉

 

Objective of the game
Goal of the game is to find exit of the Labyrinth and leveling up the hero – small green dragon.

How to play
Player is watching labyrinth from the top. Navigation is possible to 4 direction – north, east, south, west, if there is no wall.
One players step means one cell of the labyrinth.
Player can use arrows around the cell to navigate.

How its made
Only what you need is basic knowledge of html table and navigation between pages and couple of images for navigation and building blocks – walls, crossroads, corners.

Each labyrinth “Cell” consists of 4 Cells (NW, NE, SW, SR). If we fill them with pictures mentioned below, we can easily model labyrinth cell viewed from top.
Basically there are 3 types of building blocks:

Corner
Corner
( + rotations for SW, NW and NE – 4 images at overall)
Crossroad – Junction
Crossroad
( + rotations for SW, NW and NE – 4 images at overall)
Wall – Tunnel
Wall
( + rotations for SW, NW and NE – 4 images at overall) OR ( + rotations for SSW, NNW, NNE, NEE … – 8 images at overall)

You can check the result here : labyrinth.goodplace.eu

Categories
Randomizers

Randomizers

Hello, in this category you can find couple of examples how can be random function used.

URL http://randomizers.goodplace.eu is also leading to this category.

Categories
Randomizers

Roll the Dice

Simple presentation of php random function – http://roll-the-dice.goodplace.eu
Page is simulation of dice rolling. 1 – 100 dices with values from 4 to 100.

Categories
Coloring

Coloring goodplace.eu

Argentinosaurus
http://coloring.goodplace.eu
Page provides white-black pictures suitable for printing and coloring or online coloring.

Categories
Randomizers

Flip the Coin

Simple presentation of php random function – http://flip-coin.goodplace.eu/

Flip coin

Page is refreshed after click on the Button. Picture of Coin is loaded according to results of random function.

How its made
Code:

...
<input type="button" value="Flip !" onClick="window.location.reload()">
...
<?php
if (rand(0,1) == 0) {
echo "<img src=\"1eurohead.jpg\" alt=\"Head\" title=\"Head\" border=\"0\" height=\"225\" width=\"225\">";
}
else {
echo "<img src=\"1eurotail.jpg\" alt=\"Tail\" title=\"Tail\" border=\"0\" height=\"225\" width=\"225\">";
}
?>
...

8.2.2017
Small update on site Flip the Coin.
Simple responsive template added.

Picture of boring usual 1 Euro coin replaced with very nice gold slovak 100 Euro collector coin picturing slavic earl Rastislav.

Coin head
Coin tail

Enjoy ! 🙂

Categories
Randomizers

Yes or No Generator

Simple presentation of php random function – yes-or-no.goodplace.eu

Page is refreshed after click on the Button. Picture YES  or NO is loaded according to results of random function.

How its made
Code:
...
<input type="button" value="Yes or No ?" onClick="window.location.reload()">
...
<?php
if (rand(0,1) == 0) {
echo "<img src=\"no.jpg\" alt=\"no\" title=\"no\" border=\"0\" height=\"40\" width=\"80\">";
}
else {
echo "<img src=\"yes.jpg\" alt=\"yes\" title=\"yes\" border=\"0\" height=\"40\" width=\"80\">";
}
?>

Czech version ano-nebo-ne.goodplace.eu 
German version ja-oder-nein.goodplace.eu 
Spanish version si-o-no.goodplace.eu 
French version oui-ou-non.goodplace.eu 
Portugal version sim-ou-nao.goodplace.eu 
Russian version da-ili-net.goodplace.eu 
Slovak version ano-alebo-nie.goodplace.eu