Please enable JavaScript to use CodeHS


Video Game Design in JavaScript (2022)

Lessons

  1. Programming With Karel

    1. 1.1 Introduction to Programming With Karel

    2. Description
    3. Objective
    4. 1.2 More Basic Karel

    5. Description
    6. Objective
    7. 1.3 Karel Can't Turn Right

    8. Description
    9. Objective
    10. 1.4 Functions in Karel

    11. Description
    12. Objective
    13. 1.5 The Start Function

    14. Description
    15. Objective
    16. 1.6 Top Down Design and Decomposition in Karel

    17. Description
    18. Objective
    19. 1.7 Commenting Your Code

    20. Description
    21. Objective
    22. 1.8 Super Karel

    23. Description
    24. Objective
    25. 1.9 For Loops

    26. Description
    27. Objective
    28. 1.10 If Statements

    29. Description
    30. Objective
    31. 1.11 If/Else Statements

    32. Description
    33. Objective
    34. 1.12 While Loops in Karel

    35. Description
    36. Objective
    37. 1.13 Control Structures Example

    38. Description
    39. Objective
    40. 1.14 More Karel Examples and Testing

    41. Description
    42. Objective
    43. 1.15 How to Indent Your Code

    44. Description
    45. Objective
    46. 1.16 Challenge Problems

    47. Description
    48. Objective
    49. 1.17 Programming with Karel Quiz

    50. Description
    51. Objective
  2. JavaScript and Graphics

    1. 2.1 Hello World

    2. Description
    3. Objective
    4. 2.2 Variables

    5. Description
    6. Objective
    7. 2.3 User Input

    8. Description
    9. Objective
    10. 2.4 Basic Math in JavaScript

    11. Description
    12. Objective
    13. 2.5 Using Graphics in JavaScript

    14. Description
    15. Objective
    16. 2.6 Booleans

    17. Description
    18. Objective
    19. 2.7 Logical Operators

    20. Description
    21. Objective
    22. 2.8 Comparison Operators

    23. Description
    24. Objective
    25. 2.9 If Statements

    26. Description
    27. Objective
    28. 2.10 For Loops in JavaScript

    29. Description
    30. Objective
    31. 2.11 General For Loops

    32. Description
    33. Objective
    34. 2.12 For Loop Practice

    35. Description
    36. Objective
    37. 2.13 Random Numbers

    38. Description
    39. Objective
    40. 2.14 While Loops

    41. Description
    42. Objective
    43. 2.15 Loop and a Half

    44. Description
    45. Objective
    46. 2.16 Functions and Parameters 1

    47. Description
    48. Objective
    49. 2.17 Functions and Parameters 2

    50. Description
    51. Objective
    52. 2.18 Functions and Parameters 3

    53. Description
    54. Objective
    55. 2.19 Functions and Return Values 1

    56. Description
    57. Objective
    58. 2.20 Functions and Return Values 2

    59. Description
    60. Objective
    61. 2.21 Local Variables and Scope

    62. Description
    63. Objective
    64. 2.22 JavaScript and Graphics Challenges

    65. Description
    66. Objective
    67. 2.23 Javascript and Graphics Quiz

    68. Description
    69. Objective
  3. Project: Guessing Game

    1. 3.1 Guessing Game

    2. Description
    3. Objective
  4. Animation and Games

    1. 4.1 Timers

    2. Description
    3. Objective
    4. 4.2 Random Circles

    5. Description
    6. Objective
    7. 4.3 Random Ghosts

    8. Description
    9. Objective
    10. 4.4 Bouncing Ball

    11. Description
    12. Objective
    13. 4.5 Mouse Events: Mouse Clicked

    14. Description
    15. Objective
    16. 4.6 Mouse Events: Mouse Moved

    17. Description
    18. Objective
    19. 4.7 Drawing Lines

    20. Description
    21. Objective
    22. 4.8 Key Events

    23. Description
    24. Objective
    25. 4.9 Animation and Games Quiz

    26. Description
    27. Objective
  5. Crazy Ball Game

    1. 5.1 Crazy Ball Game

    2. Description
    3. Objective
  6. Project: Breakout

    1. 6.1 Breakout

    2. Description
    3. Objective
  7. Project: Fun Snake

    1. 7.1 Fun Snake

    2. Description
    3. Objective
  8. Basic Data Structures

    1. 8.1 Intro to Lists/Arrays

    2. Description
    3. Objective
    4. 8.2 Indexing Into an Array

    5. Description
    6. Objective
    7. 8.3 Adding/Removing From an Array

    8. Description
    9. Objective
    10. 8.4 Array Length and Looping Through Arrays

    11. Description
    12. Objective
    13. 8.5 Iterating Over an Array

    14. Description
    15. Objective
    16. 8.6 Finding an Element in a List

    17. Description
    18. Objective
    19. 8.7 Removing an Element From an Array

    20. Description
    21. Objective
    22. 8.8 Intro to Objects/Maps

    23. Description
    24. Objective
    25. 8.9 Basics of Objects

    26. Description
    27. Objective
    28. 8.10 Iterating Over an Object

    29. Description
    30. Objective
    31. 8.11 When Do I Use an Object?

    32. Description
    33. Objective
    34. 8.12 Intro to Sets

    35. Description
    36. Objective
    37. 8.13 Intro to Grids

    38. Description
    39. Objective
    40. 8.14 Looping Over a Grid

    41. Description
    42. Objective
    43. 8.15 Grid Example: Get a Row

    44. Description
    45. Objective
    46. 8.16 Basic Data Structures Quiz

    47. Description
    48. Objective
  9. Project: Tic Tac Toe

    1. 9.1 Tic Tac Toe

    2. Description
    3. Objective
  10. Project: Helicopter Game

    1. 10.1 Game Design: Helicopter

    2. Description
    3. Objective
    4. 10.2 Basics

    5. Description
    6. Objective
    7. 10.3 Improvements

    8. Description
    9. Objective
    10. 10.4 Polish

    11. Description
    12. Objective
  11. Final Project: Your Own Game

    1. 11.1 Final Project

    2. Description
    3. Objective
  12. Midterm

    1. 12.1 Midterm

    2. Description
    3. Objective
  13. Connect Four

    1. 13.1 Connect Four

    2. Description
    3. Objective
  14. Project MasterMind

    1. 14.1 Mastermind

    2. Description
    3. Objective