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
(1) No prototypes. Just make the game. polish as you go. Don't depend on polish happening later. Always maintain constantly shippable code. | |
(2) It is incredibly important that your game can always be run by your team. Bulletproof your engine by providing defaults upon load failure. | |
(3) Keep your code absolutely simple. Keep looking at your functions and figure out how you can simplify further. | |
(4) Great tools help make great games. Spend as much time on tools as possible. | |
(5) We are our own best testing team and should never allow anyone else to experience bugs or see the game crash. Don't waste others' time. Test thoroughly before checking in your code. |
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
$remoteport = bash.exe -c "ifconfig eth0 | grep 'inet '" | |
$found = $remoteport -match '\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}'; | |
if( $found ){ | |
$remoteport = $matches[0]; | |
} else{ | |
echo "The Script Exited, the ip address of WSL 2 cannot be found"; | |
exit; | |
} |