skip to main content
10.1145/3545947.3573223acmconferencesArticle/Chapter ViewAbstractPublication PagessigcseConference Proceedingsconference-collections
abstract

Islands of Hex

Published:06 March 2023Publication History

ABSTRACT

This nifty assignment challenges CS 2 students to implement the backend for a variation on the Hex board game. In a typical Hex game the winner is the player connecting a continuous series of their playing pieces from a specific side of the board to the other. In this variation, we add the concept of a score, which is the number of connected components of a given color. The students are provided with the front end of the game, various board sizes, unit-tests and a game simulator. They are tasked with keeping track of the state of the game. The assignment is nifty because students are interested in the game aspect and there are a number of possible solutions for the disjoint set tracking required in the backend. This leads to engaging in-class discussions that are elevated above coding specific details and focused on design and performance leading to strong learning opportunities. The unit-tests provide debugging and software development skills for students and automatic grading of some functional aspects of the work. Students could easily be tasked with creating their own unit-tests in a variant on this original. In the end students end up with a working game that is fun to play and interesting to thinking about algorithmically.

Skip Supplemental Material Section

Supplemental Material

IslandsOfHex.mp4

mp4

58.7 MB

Index Terms

  1. Islands of Hex

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Conferences
      SIGCSE 2023: Proceedings of the 54th ACM Technical Symposium on Computer Science Education V. 2
      March 2023
      1481 pages
      ISBN:9781450394338
      DOI:10.1145/3545947

      Copyright © 2022 Owner/Author

      Permission to make digital or hard copies of part or all of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for third-party components of this work must be honored. For all other uses, contact the Owner/Author.

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 6 March 2023

      Check for updates

      Qualifiers

      • abstract

      Acceptance Rates

      Overall Acceptance Rate1,595of4,542submissions,35%

      Upcoming Conference

      SIGCSE Virtual 2024
    • Article Metrics

      • Downloads (Last 12 months)0
      • Downloads (Last 6 weeks)0

      Other Metrics