Skip to content

combat sport game, like pokemon/rock-paper-scissors

Notifications You must be signed in to change notification settings

dt-rush/fight.js

Repository files navigation

fight3.js output:

fascinating hard-fought battle between apparently equally-matched opponents.

Guzman wins round 1 with a takedown and more damage. In round 2, both score 1 point of damage on each other, but Computer gets a takedown, winning the round. In round 3, computer does just a bit more damage, winning the round.

Even though in the end, computer is more damaged, they won R2 and R3, despite the early beating.

--------
===================== START OF ROUND 1 ===========================

Player Health: 20, 	Acuity: 50
Computer Health: 20, 	Acuity: 50

Choose your standing move:
1: feel-out
2: jab
3: hook
4: uppercut
5: body-punch
6: body-kick
7: leg-kick
8: head-kick
9: grapple
> 1
You feel out the opponent...

Player Health: 20, 	Acuity: 50
Computer Health: 20, 	Acuity: 50

Computer is attacking in standing mode! Choose a block:
1: block hook
2: block feel-out
3: block grapple
> 3
You successfully blocked 'grapple'!

--------

Player Health: 20, 	Acuity: 50
Computer Health: 20, 	Acuity: 50

Choose your standing move:
1: feel-out
2: jab
3: hook
4: uppercut
5: body-punch
6: body-kick
7: leg-kick
8: head-kick
9: grapple
> 1
You feel out the opponent...

Player Health: 20, 	Acuity: 50
Computer Health: 20, 	Acuity: 50

Computer is attacking in standing mode! Choose a block:
1: block feel-out
2: block hook
3: block hook
> 2
You successfully blocked 'hook'!

--------

Player Health: 20, 	Acuity: 60
Computer Health: 20, 	Acuity: 50

Choose your standing move:
1: feel-out
2: jab
3: hook
4: uppercut
5: body-punch
6: body-kick
7: leg-kick
8: head-kick
9: grapple
> 1
You feel out the opponent...

Player Health: 20, 	Acuity: 67
Computer Health: 20, 	Acuity: 50

Choose your standing move:
1: feel-out
2: jab
3: hook
4: uppercut
5: body-punch
6: body-kick
7: leg-kick
8: head-kick
9: grapple
> 1
You feel out the opponent...

Player Health: 20, 	Acuity: 71
Computer Health: 20, 	Acuity: 50

Choose your standing move:
1: feel-out
2: jab
3: hook
4: uppercut
5: body-punch
6: body-kick
7: leg-kick
8: head-kick
9: grapple
> 2
You attempted jab!
'jab' connects!
You maintain the initiative!

Player Health: 20, 	Acuity: 71
Computer Health: 16, 	Acuity: 38

Choose your standing move:
1: feel-out
2: jab
3: hook
4: uppercut
5: body-punch
6: body-kick
7: leg-kick
8: head-kick
9: grapple
> 3
You attempted hook!
They blocked your attack.

--------

Player Health: 20, 	Acuity: 71
Computer Health: 16, 	Acuity: 44.6

Computer is attacking in standing mode! Choose a block:
1: block uppercut
2: block uppercut
3: block uppercut
> 1
You successfully blocked 'uppercut'!

--------

Player Health: 20, 	Acuity: 75.72
Computer Health: 16, 	Acuity: 44.6

Choose your standing move:
1: feel-out
2: jab
3: hook
4: uppercut
5: body-punch
6: body-kick
7: leg-kick
8: head-kick
9: grapple
> 3
You attempted hook!
'hook' connects!

--------

Player Health: 20, 	Acuity: 75.72
Computer Health: 13, 	Acuity: 75.72

Computer is attacking in standing mode! Choose a block:
1: block grapple
2: block body-kick
3: block uppercut
> 1
You successfully blocked 'grapple'!

--------

Player Health: 20, 	Acuity: 75.72
Computer Health: 13, 	Acuity: 75.72

Choose your standing move:
1: feel-out
2: jab
3: hook
4: uppercut
5: body-punch
6: body-kick
7: leg-kick
8: head-kick
9: grapple
> 1
You feel out the opponent...

Player Health: 20, 	Acuity: 78.72
Computer Health: 13, 	Acuity: 75.72

Choose your standing move:
1: feel-out
2: jab
3: hook
4: uppercut
5: body-punch
6: body-kick
7: leg-kick
8: head-kick
9: grapple
> 1
You feel out the opponent...

Player Health: 20, 	Acuity: 78.72
Computer Health: 13, 	Acuity: 75.72

Computer is attacking in standing mode! Choose a block:
1: block leg-kick
2: block body-kick
3: block jab
> 1
You successfully blocked 'jab'!

--------

Player Health: 20, 	Acuity: 78.12
Computer Health: 13, 	Acuity: 75.72

Choose your standing move:
1: feel-out
2: jab
3: hook
4: uppercut
5: body-punch
6: body-kick
7: leg-kick
8: head-kick
9: grapple
> 9
You attempted grapple!
Takedown by Ronaldo Guzman!

Player Health: 20, 	Acuity: 78.12
Computer Health: 13, 	Acuity: 75.72

Choose your grappling move:
1: progress
2: elbow
3: smesh
4: headbutt-stomach
5: knee-to-body
6: kimura
7: rear-naked-choke
8: arm-bar
9: triangle-choke
10: guillotine
> 1
You attempted progress!
They blocked your attack.

--------

Player Health: 20, 	Acuity: 78.12
Computer Health: 13, 	Acuity: 86.2

Computer broke the grapple!

Player Health: 20, 	Acuity: 78.12
Computer Health: 13, 	Acuity: 86.2

Computer is attacking in standing mode! Choose a block:
1: block jab
2: block grapple
3: block jab
> 1
You successfully blocked 'jab'!

--------


===================== END OF ROUND 1 =====================

Player Health: 20, 	Acuity: 78.12
Computer Health: 13, 	Acuity: 86.2
===================== START OF ROUND 2 ===========================

Player Health: 20, 	Acuity: 82.16
Computer Health: 13, 	Acuity: 82.16

Choose your standing move:
1: feel-out
2: jab
3: hook
4: uppercut
5: body-punch
6: body-kick
7: leg-kick
8: head-kick
9: grapple
> 3
You attempted hook!
'hook' connects!

--------

Player Health: 20, 	Acuity: 82.16
Computer Health: 12, 	Acuity: 90.56

Computer is attacking in standing mode! Choose a block:
1: block uppercut
2: block grapple
3: block feel-out
> 1
You failed to block 'grapple'!
Takedown by computer!

Player Health: 20, 	Acuity: 82.16
Computer Health: 12, 	Acuity: 90.56

Computer broke the grapple!

Player Health: 20, 	Acuity: 82.16
Computer Health: 12, 	Acuity: 90.56

Computer is attacking in standing mode! Choose a block:
1: block jab
2: block body-kick
3: block jab
> 1
You successfully blocked 'jab'!

--------

Player Health: 20, 	Acuity: 83.84
Computer Health: 12, 	Acuity: 90.56

Choose your standing move:
1: feel-out
2: jab
3: hook
4: uppercut
5: body-punch
6: body-kick
7: leg-kick
8: head-kick
9: grapple
> 1
You feel out the opponent...

Player Health: 20, 	Acuity: 86.84
Computer Health: 12, 	Acuity: 90.56

Choose your standing move:
1: feel-out
2: jab
3: hook
4: uppercut
5: body-punch
6: body-kick
7: leg-kick
8: head-kick
9: grapple
> 1
You feel out the opponent...

Player Health: 20, 	Acuity: 92.84
Computer Health: 12, 	Acuity: 90.56

Choose your standing move:
1: feel-out
2: jab
3: hook
4: uppercut
5: body-punch
6: body-kick
7: leg-kick
8: head-kick
9: grapple
> 8
You attempted head-kick!
They blocked your attack.

--------

Player Health: 20, 	Acuity: 92.84
Computer Health: 12, 	Acuity: 91.016

Computer is attacking in standing mode! Choose a block:
1: block head-kick
2: block grapple
3: block uppercut
> 1
You successfully blocked 'head-kick'!

--------

Player Health: 20, 	Acuity: 92.4752
Computer Health: 12, 	Acuity: 91.016

Choose your standing move:
1: feel-out
2: jab
3: hook
4: uppercut
5: body-punch
6: body-kick
7: leg-kick
8: head-kick
9: grapple
> 1
You feel out the opponent...

Player Health: 20, 	Acuity: 92.4752
Computer Health: 12, 	Acuity: 91.016

Computer is attacking in standing mode! Choose a block:
1: block uppercut
2: block uppercut
3: block uppercut
> 1
You successfully blocked 'uppercut'!

--------

Player Health: 20, 	Acuity: 92.18336
Computer Health: 12, 	Acuity: 91.016

Choose your standing move:
1: feel-out
2: jab
3: hook
4: uppercut
5: body-punch
6: body-kick
7: leg-kick
8: head-kick
9: grapple
> 1
You feel out the opponent...

Player Health: 20, 	Acuity: 92.18336
Computer Health: 12, 	Acuity: 91.016

The computer feels you out...

Player Health: 20, 	Acuity: 92.18336
Computer Health: 12, 	Acuity: 95.016

Computer is attacking in standing mode! Choose a block:
1: block grapple
2: block uppercut
3: block feel-out
> 1
You failed to block 'uppercut'!
Computer maintains the initiative!

Player Health: 19, 	Acuity: 92.18336
Computer Health: 12, 	Acuity: 95.016

The computer feels you out...

Player Health: 19, 	Acuity: 92.18336
Computer Health: 12, 	Acuity: 96.016

Computer is attacking in standing mode! Choose a block:
1: block head-kick
2: block leg-kick
3: block jab
> 1
You successfully blocked 'leg-kick'!

--------

Player Health: 19, 	Acuity: 92.94988799999999
Computer Health: 12, 	Acuity: 96.016

Choose your standing move:
1: feel-out
2: jab
3: hook
4: uppercut
5: body-punch
6: body-kick
7: leg-kick
8: head-kick
9: grapple
> 1
You feel out the opponent...

Player Health: 19, 	Acuity: 92.94988799999999
Computer Health: 12, 	Acuity: 96.016

Choose your standing move:
1: feel-out
2: jab
3: hook
4: uppercut
5: body-punch
6: body-kick
7: leg-kick
8: head-kick
9: grapple
> 1
You feel out the opponent...

Player Health: 19, 	Acuity: 92.94988799999999
Computer Health: 12, 	Acuity: 96.016

The computer feels you out...

Player Health: 19, 	Acuity: 92.94988799999999
Computer Health: 12, 	Acuity: 98.016

The computer feels you out...

Player Health: 19, 	Acuity: 92.94988799999999
Computer Health: 12, 	Acuity: 98.016

Choose your standing move:
1: feel-out
2: jab
3: hook
4: uppercut
5: body-punch
6: body-kick
7: leg-kick
8: head-kick
9: grapple
> 1
You feel out the opponent...

Player Health: 19, 	Acuity: 95.94988799999999
Computer Health: 12, 	Acuity: 98.016

Choose your standing move:
1: feel-out
2: jab
3: hook
4: uppercut
5: body-punch
6: body-kick
7: leg-kick
8: head-kick
9: grapple
> 1
You feel out the opponent...

Player Health: 19, 	Acuity: 100.94988799999999
Computer Health: 12, 	Acuity: 98.016

Choose your standing move:
1: feel-out
2: jab
3: hook
4: uppercut
5: body-punch
6: body-kick
7: leg-kick
8: head-kick
9: grapple
> 1
You feel out the opponent...

Player Health: 19, 	Acuity: 100.94988799999999
Computer Health: 12, 	Acuity: 98.016

The computer feels you out...

Player Health: 19, 	Acuity: 100.94988799999999
Computer Health: 12, 	Acuity: 100.016

Computer is attacking in standing mode! Choose a block:
1: block head-kick
2: block head-kick
3: block head-kick
> 1
You successfully blocked 'head-kick'!

--------

Player Health: 19, 	Acuity: 100.7631104
Computer Health: 12, 	Acuity: 100.016

Choose your standing move:
1: feel-out
2: jab
3: hook
4: uppercut
5: body-punch
6: body-kick
7: leg-kick
8: head-kick
9: grapple
> 4
You attempted uppercut!
They blocked your attack.

--------

Player Health: 19, 	Acuity: 100.7631104
Computer Health: 12, 	Acuity: 100.16542208000001

The computer feels you out...

Player Health: 19, 	Acuity: 100.7631104
Computer Health: 12, 	Acuity: 100.16542208000001

Choose your standing move:
1: feel-out
2: jab
3: hook
4: uppercut
5: body-punch
6: body-kick
7: leg-kick
8: head-kick
9: grapple
> 4
You attempted uppercut!
They blocked your attack.

--------

Player Health: 19, 	Acuity: 100.7631104
Computer Health: 12, 	Acuity: 100.28495974400002

Computer is attacking in standing mode! Choose a block:
1: block jab
2: block jab
3: block jab
> 1
You successfully blocked 'jab'!

--------


===================== END OF ROUND 2 =====================

Player Health: 19, 	Acuity: 100.7631104
Computer Health: 12, 	Acuity: 100.28495974400002
===================== START OF ROUND 3 ===========================

Player Health: 19, 	Acuity: 100.524035072
Computer Health: 12, 	Acuity: 100.524035072

Choose your standing move:
1: feel-out
2: jab
3: hook
4: uppercut
5: body-punch
6: body-kick
7: leg-kick
8: head-kick
9: grapple
> 3
You attempted hook!
'hook' connects!

--------

Player Health: 19, 	Acuity: 100.524035072
Computer Health: 9, 	Acuity: 107.32403507200002

Computer is attacking in standing mode! Choose a block:
1: block uppercut
2: block uppercut
3: block uppercut
> 1
You successfully blocked 'uppercut'!

--------

Player Health: 19, 	Acuity: 101.88403507200002
Computer Health: 9, 	Acuity: 107.32403507200002

Choose your standing move:
1: feel-out
2: jab
3: hook
4: uppercut
5: body-punch
6: body-kick
7: leg-kick
8: head-kick
9: grapple
> 3
You attempted hook!
They blocked your attack.

--------

Player Health: 19, 	Acuity: 101.88403507200002
Computer Health: 9, 	Acuity: 106.23603507200002

Computer is attacking in standing mode! Choose a block:
1: block body-kick
2: block body-kick
3: block body-kick
> 1
You failed to block 'body-kick'!

--------

Player Health: 15, 	Acuity: 90.75443507200002
Computer Health: 9, 	Acuity: 106.23603507200002

Choose your standing move:
1: feel-out
2: jab
3: hook
4: uppercut
5: body-punch
6: body-kick
7: leg-kick
8: head-kick
9: grapple
> 3
You attempted hook!
They blocked your attack.

--------

Player Health: 15, 	Acuity: 90.75443507200002
Computer Health: 9, 	Acuity: 103.13971507200003

The computer feels you out...

Player Health: 15, 	Acuity: 90.75443507200002
Computer Health: 9, 	Acuity: 106.13971507200003

Computer is attacking in standing mode! Choose a block:
1: block uppercut
2: block leg-kick
3: block feel-out
> 1
You failed to block 'leg-kick'!
Computer maintains the initiative!

Player Health: 14, 	Acuity: 88.75443507200002
Computer Health: 9, 	Acuity: 106.13971507200003

The computer feels you out...

Player Health: 14, 	Acuity: 88.75443507200002
Computer Health: 9, 	Acuity: 106.13971507200003

Choose your standing move:
1: feel-out
2: jab
3: hook
4: uppercut
5: body-punch
6: body-kick
7: leg-kick
8: head-kick
9: grapple
> 9
You attempted grapple!
They blocked your attack.

--------

Player Health: 14, 	Acuity: 88.75443507200002
Computer Health: 9, 	Acuity: 102.66265907200004

Computer is attacking in standing mode! Choose a block:
1: block body-punch
2: block body-kick
3: block body-kick
> 2
You successfully blocked 'body-kick'!

--------

Player Health: 14, 	Acuity: 91.53607987200002
Computer Health: 9, 	Acuity: 102.66265907200004

Choose your standing move:
1: feel-out
2: jab
3: hook
4: uppercut
5: body-punch
6: body-kick
7: leg-kick
8: head-kick
9: grapple
> 1
You feel out the opponent...

Player Health: 14, 	Acuity: 99.53607987200002
Computer Health: 9, 	Acuity: 102.66265907200004

Choose your standing move:
1: feel-out
2: jab
3: hook
4: uppercut
5: body-punch
6: body-kick
7: leg-kick
8: head-kick
9: grapple
> 9
You attempted grapple!
They blocked your attack.

--------

Player Health: 14, 	Acuity: 99.53607987200002
Computer Health: 9, 	Acuity: 102.03734323200004

Computer is attacking in standing mode! Choose a block:
1: block grapple
2: block grapple
3: block grapple
> 1
You successfully blocked 'grapple'!

--------

Player Health: 14, 	Acuity: 100.03633254400002
Computer Health: 9, 	Acuity: 102.03734323200004

Choose your standing move:
1: feel-out
2: jab
3: hook
4: uppercut
5: body-punch
6: body-kick
7: leg-kick
8: head-kick
9: grapple
> 9
You attempted grapple!
They blocked your attack.

--------


===================== END OF ROUND 3 =====================

Player Health: 14, 	Acuity: 100.03633254400002
Computer Health: 9, 	Acuity: 102.03734323200004
[ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [
[ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [
[ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [
After 3 rounds, we go to the judge's scorecards...
Judge 1 scores the contest 19, 20...
Judge 2 scores the contest 19, 19...
Judge 3 scores the contest 18, 19...
... declaring the winner... your NEW... Light Heavyweight Champion of the Woooooorrrld!!!! COMPUTER ... 'THE COMPUTER' ... COMPUTER!!!
GAME END

About

combat sport game, like pokemon/rock-paper-scissors

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages