Categories
Games Randomizers

Rock paper scissors lizard Spock

Goodplace.eu proudly presents a new member of randomizer family. Game “Rock paper scissors lizard Spock” invented by Sam Kass and Karen Bryla. Mentioned in three episodes of popular “The Big Bang Theory” series.

Rock Paper Scissors Lizard Spock gameRock Paper Scissors Lizard Spock game

Page presents php rand function in role of computer “player”, which randomly selects from five hand positions.

Have fun ! 😉

Categories
Games Randomizers

Rock paper scissors

Goodplace.eu proudly presents a new member of randomizer family. Well known game “Rock paper scissors”

Rock Paper Scissors gameRock Paper Scissors game

Page presents php rand function in role of computer “player”, which randomly selects from three hand positions.

Have fun ! 😉

Categories
Randomizers

Get random proverb

There is a new member of “Randomizer” family:

get-random-proverb.goodplace.eu

Which presents simple combination of php random function for selection of proverbs list from proverbs.goodplace.eu
and html iframe usage of page showing one randomly selected proverb proverbs.goodplace.eu/random-proverb.php

 

Page provides easy step by step manual how to add random proverb to your website.

Have fun. 🙂

Categories
Randomizers

Lucky numbers generator

We are proud to present you new member of our “Randomizers” family:

lucky-numbers.goodplace.eu 😉

Page is able to generate Your lucky numbers. Which has countless application in real life situations.

Lotto positive will found it certainly usefull.

Page generates maximum 10 iterations of maximum 100 values from interval 0 – 100.

Default setting is 6 / 49, no zeros, no duplicates, 1 iteration.

This can be changed by user.

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