Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update backtracking/minimax.py
Co-authored-by: Tianyi Zheng <tianyizheng02@gmail.com>
  • Loading branch information
Hardvan and tianyizheng02 authored Oct 23, 2023
commit e0282c92e3e66985f534126e0f6f8b3eef612952
1 change: 0 additions & 1 deletion backtracking/minimax.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ def minimax(
12
"""

# Check for invalid inputs
if depth < 0:
raise ValueError("Depth cannot be less than 0")
if len(scores) == 0:
Expand Down