ga-wdi-lessons / pseudocode Goto Github PK
View Code? Open in Web Editor NEWIntroduction to Pseudocode [pseudocode]
License: Creative Commons Zero v1.0 Universal
Introduction to Pseudocode [pseudocode]
License: Creative Commons Zero v1.0 Universal
The URL at the bottom generates a germinal idea for a game; might be fun/lateral-thinky to pseudocode some of these ideas.
on-click, if box empty and if player 1 place X
on-click, if box empty and if player 2 place O
check to see if 3 X's or 3 O's in a row, horizontal, vertical, or diagonal
display winner if 3 combo
add +1 to winner's win counter
add +1 to loser's loss counter
display, Play Again?
Many student struggled with assignment of the result of a command: Number CurrentIndex = Add(CurrentIndex, 1)
. I wonder if we could make this clearer.
Features to be added
Design
each square is a div
only able to enter once and the field entered will be disabled
Pseudocode:
createBoard()
prompt player for teams
message explaining game rules
rules() - game loops- for each , it will check if there is three pieces in a row
Many students struggled with how to use the provided command descriptions. I think it would be clearer for them (and fun) if we provided the commands.
e.g. Add(addend1, addend2): Add two numbers together. Outputs the sum.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.