Skip to content

Commit 509a019

Browse files
authored
Merge pull request #103 from imVivekGupta/documentation
added superellipse doc
2 parents 5d4fe9a + 0717b04 commit 509a019

File tree

1 file changed

+27
-3
lines changed

1 file changed

+27
-3
lines changed

README.md

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,16 @@ We are glad to partner with IIT Kharagpur as a part of the Kharagpur Winter of C
5252
* [Sprint](https://github.com/prateekiiest/Code-Sleep-Python#sprint)
5353
* [Floating Text](#floating-text)
5454
* [Koch Curve](https://github.com/prateekiiest/Code-Sleep-Python#koch-curve)
55+
* [Superellipse](https://github.com/prateekiiest/Code-Sleep-Python#superellipse)
56+
* [Cricket Notification](https://github.com/prateekiiest/Code-Sleep-Python#cricket-notification)
5557

5658
----------------------------------
5759

5860
### Tic-Tac-Toe
5961

6062
Tic-Tac-Toe (or noughts and crosses) is a simple strategy game in which two players take turns placing a mark on a 3x3 board, attempting to make a row, column, or diagonal of three with their mark. In this homework, we will use the tools we've covered in the past two weeks to create a Tic-Tac-Toe simulator and evaluate basic winning strategies.
6163

62-
![](https://upload.wikimedia.org/wikipedia/commons/8/8e/TicTacToe-6549127nnXOp.gif)
64+
![](https://upload.wikimedia.org/wikipedia/commons/8/8e/TicTacToe-6549127nnXOp.gif)
6365

6466
Players soon discover that best play from both parties leads to a draw. Because of the simplicity of Tic-Tac-Toe, it is often used as a pedagogical tool for teaching the concepts of good sportsmanship and the branch of artificial intelligence that deals with the searching of game trees. It is straightforward to write a computer program to play Tic-Tac-Toe perfectly, to enumerate the 765 essentially different positions (the state space complexity), or the 26.830 possible games up to rotations and reflections (the game tree complexity) on this space.
6567

@@ -73,7 +75,7 @@ Hangman is a simple game where a player will guess a word letter by letter.
7375

7476
![](http://daramcq.github.io/img/hangman-game-5.png)
7577

76-
In this project, you will create a program that generates a random word that you must guess.
78+
In this project, you will create a program that generates a random word that you must guess.
7779

7880
**[CODE](https://github.com/prateekiiest/Code-Sleep-Python/blob/master/Hangman/code.py)**
7981

@@ -151,7 +153,7 @@ The implementation of Sieve of Eratosthenes is used to find prime numbers.
151153

152154
----------------------------------------------------
153155

154-
#### Website status check
156+
### Website status check
155157

156158
A simple website crawler to check the return code of a website. It returns with a message indicating whether the website is online, redirected, or not found.
157159

@@ -208,6 +210,28 @@ This program traces out a 4 level Koch curve.
208210

209211
----------------------------------------------------
210212

213+
### Superellipse
214+
215+
A superellipse, also known as a Lamé curve after Gabriel Lamé, is a closed curve resembling the ellipse, retaining the geometric features of semi-major axis and semi-minor axis, and symmetry about them, but a different overall shape.
216+
217+
**[more info](https://en.wikipedia.org/wiki/Superellipse)**
218+
219+
![](https://upload.wikimedia.org/wikipedia/en/2/24/Superellipse_anim.gif)
220+
221+
**[CODE](https://github.com/prateekiiest/Code-Sleep-Python/blob/master/Superellipse/test.py)**
222+
223+
----------------------------------------------------
224+
225+
### Cricket Notification
226+
227+
A simple program to get the score and match status if India is playing. This information is obtained from the terminal.
228+
229+
![](https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRgwxUvr7AfngMuzr4a8tc69jexGPoPeSdCTiDZhvlXqgZTH_wxgg)
230+
231+
**[CODE](https://github.com/prateekiiest/Code-Sleep-Python/blob/master/Cricket_Notification/cricket_notification.py)**
232+
233+
----------------------------------------------------
234+
211235
## Getting started with Python
212236

213237
New to Python? No problem! Take a look at the following resources:

0 commit comments

Comments
 (0)