cwcomp

package module
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2023 License: MIT Imports: 5 Imported by: 0

README

cwcomp

Go Report Card PkgGoDev

Crossword puzzle editor written in Go. This is a work in progress, based on the completed Python version here

References

Documentation

Overview

A web application that is used to create crossword puzzles.

Contains types and functions that support the internal workings of the application.

A puzzle consists of an nxn matrix of cells, which are of two types:

  • Black cells: Blocks in the grid

  • Letter cells: Ordinary cells where letters of words can be placed.

The puzzle also supports undo/redo for black cells and words in the grid.

The word list is derived from [email protected]:elasticdog/yawl.git, with some editing by me.

Index

Constants

View Source
const BLACK_CELL = '\x00'
View Source
const YAML_FILE_NAME = "config.yaml"

Name of the config.yaml file in the configuration directory

Variables

View Source
var Configuration *configuration

A pointer to the loaded instance of the configuration

View Source
var PACKAGE_NAME = GetPackageName()

Name of this package. Used to specify the subdirectory for this application in the configuration directory.

Functions

func FileExists added in v0.6.1

func FileExists(filename string) bool

Returns true if the specified file exists

func GetPackageName

func GetPackageName() string

GetPackageName returns the name of the package

Types

This section is empty.

Directories

Path Synopsis
cmd
Model is the internal component of the application, used by the controller and the view.
Model is the internal component of the application, used by the controller and the view.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL