This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>Hi, I'm index1.html aka win1</h1> | |
<script> | |
function sendIpcMsg() { | |
var ipc = require('ipc'); | |
ipc.send('my-msg', 'hi'); | |
} | |
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* While still playing, | |
The computer generates a number. | |
The user guesses the number. | |
While that number isn't correct, | |
Find out if the user's guess is correct this time. | |
If so, | |
They win, ask them if they want to play again | |
If they do, | |
Go back to line 2. | |
If they don't, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#While still playing, | |
#The computer generates a number. | |
#The user guesses the number. | |
#While that number isn't correct, | |
#Find out if the user's guess is correct this time. | |
#If so, | |
#They win, ask them if they want to play again | |
#If they do, | |
#Go back to line 2. | |
#If they don't, |