Skip to content
Snippets Groups Projects
Commit 3bb771c2 authored by Oussama Addi's avatar Oussama Addi
Browse files

Update generer_pommes.sh

parent 6a9663eb
No related branches found
No related tags found
No related merge requests found
function generer_pommes(){
pomme_x = $((RANDOM % (getVariable plateau_largeur )
pomme_y = $((RANDOM % (getVariable plateau_hauteur )
pomme=("$pomme_x $pomme_y")
echo $pomme
}
pomme=$(generer_pommes)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment