rename notcurses-tetris -> nctetris

pull/1321/head
nick black 3 years ago
parent 121f10a9c5
commit 7eafcfe598
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -560,15 +560,15 @@ target_link_libraries(notcurses-input
)
############################################################################
# notcurses-tetris
# nctetris
file(GLOB TETRISSRC CONFIGURE_DEPENDS src/tetris/*.cpp)
add_executable(notcurses-tetris ${TETRISSRC})
target_include_directories(notcurses-tetris
add_executable(nctetris ${TETRISSRC})
target_include_directories(nctetris
PRIVATE
include
"${PROJECT_BINARY_DIR}/include"
)
target_link_libraries(notcurses-tetris
target_link_libraries(nctetris
PRIVATE
notcurses++
)
@ -770,7 +770,7 @@ install(FILES ${MARKDOWN} DESTINATION ${CMAKE_INSTALL_DOCDIR})
install(TARGETS notcurses-demo DESTINATION bin)
install(TARGETS notcurses-input DESTINATION bin)
install(TARGETS notcurses-tetris DESTINATION bin)
install(TARGETS nctetris DESTINATION bin)
if(NOT ${USE_MULTIMEDIA} STREQUAL "none")
install(TARGETS ncneofetch DESTINATION bin)
install(TARGETS ncls DESTINATION bin)

@ -1,6 +1,9 @@
This document attempts to list user-visible changes and any major internal
rearrangements of Notcurses.
* 2.1.8 (not yet released):
* The `notcurses-tetris` binary has been renamed `nctetris`.
* 2.1.7 (2021-01-21):
* Notcurses has been split into two libraries, `notcurses-core` and
`notcurses`. The latter contains the heavyweight multimedia code,

@ -131,13 +131,13 @@ may well be possible to use still older versions. Let me know of any successes!
## Included tools
Seven binaries are installed as part of Notcurses:
* `notcurses-demo`: some demonstration code
* `ncls`: an `ls` that displays multimedia in the terminal
* `ncneofetch`: a [neofetch](https://github.com/dylanaraps/neofetch) ripoff
* `ncplayer`: renders visual media (images/videos)
* `nctetris`: a tetris clone
* `notcurses-demo`: some demonstration code
* `notcurses-input`: decode and print keypresses
* `notcurses-tester`: unit testing
* `notcurses-tetris`: a tetris clone
To run `notcurses-demo` from a checkout, provide the `tests/` directory via
the `-p` argument. Demos requiring data files will otherwise abort. The base

@ -32,12 +32,12 @@
<a href="ncls.1.html">ncls</a>—list files, displaying multimedia along with them<br/>
<a href="ncneofetch.1.html">ncneofetch</a>—generate low-effort posts for r/unixporn<br/>
<a href="ncplayer.1.html">ncplayer</a>—renders images and video to a terminal<br/>
<a href="nctetris.1.html">nctetris</a>—Tetris in a terminal<br/>
<a href="notcurses-demo.1.html">notcurses-demo</a>—shows off some notcurses features<br/>
<a href="notcurses-direct-pydemo.1.html">notcurses-direct-pydemo</a>—validates the Python direct-mode wrappers<br/>
<a href="notcurses-input.1.html">notcurses-input</a>—reads and decodes input events<br/>
<a href="notcurses-pydemo.1.html">notcurses-pydemo</a>—validates the Python wrappers<br/>
<a href="notcurses-tester.1.html">notcurses-tester</a>—unit test driver<br/>
<a href="notcurses-tetris.1.html">notcurses-tetris</a>—Tetris in a terminal<br/>
<div style="float:left">
<h3>C library (section 3)</h3>
<a href="notcurses_capabilities.3.html">notcurses_capabilities</a>—runtime capability detection<br/>

@ -1,18 +1,18 @@
% notcurses-tetris(1)
% nctetris(1)
% nick black <nickblack@linux.com>
% v2.1.7
# NAME
notcurses-tetris - Render images and video to a terminal
nctetris - Render images and video to a terminal
# SYNOPSIS
**notcurses-tetris** [**-h|--help**] [**-l loglevel**]
**nctetris** [**-h|--help**] [**-l loglevel**]
# DESCRIPTION
**notcurses-tetris** implements Tetris using notcurses.
**nctetris** implements Tetris using Notcurses.
The goal is to complete horizontal lines, without allowing tetriminos to
reach the top of the screen. The falling tetrimino can be rotated counter-

@ -19,5 +19,5 @@ Run, using `valgrind --tool=memcheck --leak-check=full`:
terminal geometries: square, tall, wide
* `notcurses-demo` with margins
* `notcurses-demo` with FPS plot and HUD up
* Play a game of `notcurses-tetris`
* Play a game of `nctetris`
* Run each PoC binary, including `ncpp_build` and `ncpp_build_exceptions`

Loading…
Cancel
Save