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
# Elizabeth Qiu | |
# This goes along with my lecture (for Justin's section) on 4/15/24 ~ We learned Floyd's algorithm! | |
# The exact example I presented is below. See Piazza @1062 for more information. | |
# Lecture recording: https://umd.zoom.us/rec/share/1PGdFYebJhERfaaGsbB7qA3MlNSzlflosjj3MnGMims3bfzm8E2QofzCVrLnMDFt.BcsKh2kPcxSrEhxS?startTime=1713186103000 | |
# At the end of the file, you can update the adjacency matrix with your own to test out. If you add/remove vertices, make sure to update the V value in the line below. | |
# Note on paper and in lecture, we use 1-indexing for convenience, but in code I use 0-indexing because...it's code. | |
V = 3 |
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
// Source code for the MoCoHacks 2021 "Intro to 2D/3D Game Development in Unity" Workshop! | |
// Link to presentation: http://bit.ly/mch-gamedev2021 | |
// SLIDE 6: Moving Your Player (Pt. 1) | |
// ----------------------------------------------------------------------------------------------- | |
moveHorz = Input.GetAxis("Horizontal"); | |
moveVert = Input.GetAxis("Vertical"); | |
Vector3 movement = new Vector3(moveHorz, 0, moveVert); |
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
body { | |
font-family: "Cabin", !important; | |
background-color: #008080 !important; | |
} | |
.posts { | |
border-radius: 0 !important; | |
} | |
.post { |