Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Apicasoft Init - Bataille Navale
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Adhavane Moudougannane
Apicasoft Init - Bataille Navale
Commits
5c8eedee
Commit
5c8eedee
authored
1 year ago
by
Thibault Delaby
Browse files
Options
Downloads
Patches
Plain Diff
lala
parent
516c2bfc
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
main.sh
+2
-0
2 additions, 0 deletions
main.sh
with
2 additions
and
0 deletions
main.sh
+
2
−
0
View file @
5c8eedee
...
...
@@ -40,6 +40,7 @@ function main {
echo
"Il vous reste
$bateau_restant1
bateaux et il reste
$bateau_restant2
bateaux à l'adversaire"
read
-p
"Appuyer sur n'importe quelle touche pour passer au tour suivant"
clear
read
-p
"Press"
affiche_plateau
$plateau_h
$plateau_w
2 1
case_vise
=
$(
verif_placement_cases 2
)
echo
"
$case_vise
"
...
...
@@ -56,6 +57,7 @@ function main {
echo
"Il vous reste
$bateau_restant2
bateaux et il reste
$bateau_restant1
bateaux à l'adversaire"
read
-p
"Appuyer sur n'importe quelle touche pour passer au tour suivant"
clear
read
-p
"Press"
done
if
[
$bateau_restant1
-eq
0
]
&&
[
$bateau_restant2
-eq
0
]
then
...
...
This diff is collapsed.
Click to expand it.
Thibault Delaby
@delabyth
mentioned in commit
332cdf18
·
1 year ago
mentioned in commit
332cdf18
mentioned in commit 332cdf18df4b092cd11c91a57bacb466d55c6649
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment