teaching machines

CS 347: Lab 11 – Sigmatic

October 1, 2020 by . Filed under fall-2020, labs, webdev.

Welcome to lab. By now you have already watched the lecture videos on your own. Now we will apply the ideas from those videos in a handful of exercises, which you will complete in small groups.

Within your breakout room, designate one of your team to be the screen sharer. Screen sharer, share your screen and claim your group’s task on Crowdsource. Make sure to enter every group member’s JMU eID so that they receive credit. Your group will be assigned a task number.

Team, complete the assigned task below. Screen sharer, be careful not to dominate. All members should contribute ideas.


Reverse engineer the following page using an internal stylesheet and an internal script:

This is a little arithmetic game that I call Sigmatic. A random number is visible in the center cell. In the surrounding inputs, the player enters a consecutive sequence of integers that sums to the central number. When the correct numbers are entered and the player clicks Check, a new number is generated. Your task is to write the HTML and CSS. I’ll provide the JavaScript.

Follow these guidelines in your solution:

Screen sharer, when your group is done or when time is up, submit your group’s solution on Crowdsource.

Peer Review

After you have submitted the exercise, transition into your peer review for project 1. The following things should happen:

Reference Implementation